View previous topic :: View next topic |
Author |
Message |
mingdao n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 19 Sep 2011 Posts: 13
|
Posted: Sat Aug 03, 2024 3:14 pm Post subject: [SOLVED] PPD creation failed. HP OfficeJet Pro 8020 |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
flexibeast Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 04 Apr 2022 Posts: 376 Location: Naarm/Melbourne, Australia
|
Posted: Sun Aug 04, 2024 1:22 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
charles17 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 02 Mar 2008 Posts: 3683
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mingdao n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 19 Sep 2011 Posts: 13
|
Posted: Tue Aug 06, 2024 12:02 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
mingdao n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 19 Sep 2011 Posts: 13
|
Posted: Tue Aug 06, 2024 12:04 pm Post subject: |
|
|
Edited. Check it out. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|