Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] PPD creation failed. HP OfficeJet Pro 8020
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
mingdao
n00b
n00b


Joined: 19 Sep 2011
Posts: 13

PostPosted: Sat Aug 03, 2024 3:14 pm    Post subject: [SOLVED] PPD creation failed. HP OfficeJet Pro 8020 Reply with quote

I have the same problem with my HP OfficeJet Pro 8020
Code:
workstation ~ # lpadmin -p HP-OfficeJet-Pro-8020 -E -v ipp://192.168.54.9/ipp -m everywhere                                                                                                   
workstation ~ # lpstat -le                                                                                                                                                                     
HP-OfficeJet-Pro-8020 permanent ipp://localhost/printers/HP-OfficeJet-Pro-8020 ipp://192.168.54.9/ipp                                                                                         
workstation ~ # ls -al /etc/cups/ppd/                                                                                                                                                         
total 4                                                                                                                                                                                       
drwxr-xr-x 2 root lp     36 2024-08-01 06:33 .                                                                                                                                                 
drwxr-xr-x 5 root lp   4096 2024-08-03 09:07 ..                                                                                                                                               
-rw-r--r-- 1 root root    0 2024-08-01 06:32 .keep_net-print_cups-0                                                                                                                           
workstation ~ #

Code:
mingdao@workstation ~ $ lpstat -t
scheduler is running
system default destination: HP-OfficeJet-Pro-8020
device for HP-OfficeJet-Pro-8020: ipp://192.168.54.9/ipp
HP-OfficeJet-Pro-8020 accepting requests since Sat 03 Aug 2024 09:32:51 AM CDT
printer HP-OfficeJet-Pro-8020 disabled since Sat 03 Aug 2024 09:32:51 AM CDT -
        The printer configuration is incorrect or the printer no longer exists.

cat /var/log/cups/error_log
Code:
E [03/Aug/2024:09:06:52 -0500] HPOfficeJetPro8020: PPD creation failed: No IPP attributes.
E [03/Aug/2024:09:09:22 -0500] HP-OfficeJet-Pro-8020: PPD creation failed: No IPP attributes.
E [03/Aug/2024:09:18:46 -0500] [Client 23] Returning HTTP Forbidden for CUPS-Get-Devices (no URI) from localhost
E [03/Aug/2024:09:20:00 -0500] [Job 1] The printer configuration is incorrect or the printer no longer exists.
W [03/Aug/2024:09:20:00 -0500] [Job 1] Backend ipp returned status 4 (stop printer)
E [03/Aug/2024:09:28:26 -0500] HP-OfficeJet-Pro-8020: PPD creation failed: No IPP attributes.
E [03/Aug/2024:09:32:51 -0500] [Job 2] The printer configuration is incorrect or the printer no longer exists.
W [03/Aug/2024:09:32:51 -0500] [Job 2] Backend ipp returned status 4 (stop printer)


Splitted and moved. --Banana


Last edited by mingdao on Tue Aug 06, 2024 1:29 pm; edited 1 time in total
Back to top
View user's profile Send private message
flexibeast
Guru
Guru


Joined: 04 Apr 2022
Posts: 440
Location: Naarm/Melbourne, Australia

PostPosted: Sun Aug 04, 2024 1:22 am    Post subject: Reply with quote

As a starting point, can you confirm that the `net-print/cups-filters` package is installed? (Cf. News item dated 2023-11-20, "CUPS no longer directly depends on its filters".)
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3684

PostPosted: Sun Aug 04, 2024 7:25 am    Post subject: Reply with quote

maybe update https://wiki.gentoo.org/wiki/Driverless_printing ?
Back to top
View user's profile Send private message
mingdao
n00b
n00b


Joined: 19 Sep 2011
Posts: 13

PostPosted: Tue Aug 06, 2024 12:02 pm    Post subject: Reply with quote

flexibeast wrote:
As a starting point, can you confirm that the `net-print/cups-filters` package is installed? (Cf. News item dated 2023-11-20, "CUPS no longer directly depends on its filters".)

Yes, cups-filters was installed:
Code:
workstation ~ # eix net-print/cups-filters
[I] net-print/cups-filters
     Available versions:  1.28.17-r2^t 2.0.0^t 2.0.0-r1^t {dbus exif +foomatic jpeg ldap pclm pdf perl png +postscript test tiff zeroconf}
     Installed versions:  2.0.0-r1^t(06:35:42 AM 08/01/2024)(foomatic)

This PC has 3 hard drives. Gentoo is on sda, Arch is on sdb. This is the screenshot of http://localhost:631/printers in Arch.
The instructions at https://wiki.gentoo.org/wiki/Driverless_printing are
Code:
lpadmin -p foobar -E -v ipp://192.168.178.23/ipp -m everywhere


I am going to install again on Gentoo with the command:
Code:
lpadmin -p foobar -E -v ipp://192.168.54.9/ipp/print -m everywhere

And, that worked! It is printing!


Last edited by mingdao on Tue Aug 06, 2024 1:23 pm; edited 1 time in total
Back to top
View user's profile Send private message
mingdao
n00b
n00b


Joined: 19 Sep 2011
Posts: 13

PostPosted: Tue Aug 06, 2024 12:04 pm    Post subject: Reply with quote

charles17 wrote:
maybe update https://wiki.gentoo.org/wiki/Driverless_printing ?

Edited. Check it out.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum