Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

[SOLVED] PPD creation failed. HP OfficeJet Pro 8020

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
mingdao
n00b
n00b
Posts: 22
Joined: Mon Sep 19, 2011 4:42 pm
Contact:
Contact mingdao
Website

[SOLVED] PPD creation failed. HP OfficeJet Pro 8020

  • Quote

Post by mingdao » Sat Aug 03, 2024 3:14 pm

I have the same problem with my HP OfficeJet Pro 8020

Code: Select all

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: Select all

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: Select all

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.
Top
flexibeast
l33t
l33t
Posts: 679
Joined: Mon Apr 04, 2022 4:15 am
Location: Naarm/Melbourne, Australia
Contact:
Contact flexibeast
Website

  • Quote

Post by flexibeast » Sun Aug 04, 2024 1:22 am

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".)
Top
charles17
Advocate
Advocate
Posts: 3686
Joined: Sun Mar 02, 2008 3:20 pm

  • Quote

Post by charles17 » Sun Aug 04, 2024 7:25 am

maybe update https://wiki.gentoo.org/wiki/Driverless_printing ?
Top
mingdao
n00b
n00b
Posts: 22
Joined: Mon Sep 19, 2011 4:42 pm
Contact:
Contact mingdao
Website

  • Quote

Post by mingdao » Tue Aug 06, 2024 12:02 pm

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: Select all

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: Select all

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: Select all

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.
Top
mingdao
n00b
n00b
Posts: 22
Joined: Mon Sep 19, 2011 4:42 pm
Contact:
Contact mingdao
Website

  • Quote

Post by mingdao » Tue Aug 06, 2024 12:04 pm

charles17 wrote:maybe update https://wiki.gentoo.org/wiki/Driverless_printing ?
Edited. Check it out.
Top
Post Reply

5 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy