Printer problem: Failed to open PPD

Non release banter
Kulle
Warlord
Warlord
Posts: 594
Joined: 28 Jan 2017, 10:39
Distribution: v4.0 64bit Xfce
Location: Berlin

Printer problem: Failed to open PPD

Post#1 by Kulle » 21 Oct 2021, 08:56

Hi,
I now have a new wireless router. I had to set up my printer with cups again.
It doesn't print anymore.
http://localhost:631/jobs? shows:
Printing stopped. Failed to open PPD: /etc/cups/ppd/HP07725D.ppd"

But the file exist:

Code: Select all

root@porteus:/etc/cups/ppd# cat HP07725D.ppd
*PPD-Adobe: "4.3"
*%%%% PPD file for HP Photosmart 5510 Series with CUPS.
*%%%% Created by the CUPS PPD Compiler CUPS v2.1.4.
*% (c) 2008 Copyright HP Development Company, LP
*FormatVersion: "4.3"
*FileVersion: "3.16.11"
*LanguageVersion: English
*LanguageEncoding: ISOLatin1
*PCFileName: "hp-photosmart_5510_series.ppd"
*Product: "(HP Photosmart 5510 E-all-in-one)"
*Manufacturer: "HP"
...
...
*Font Times-BoldItalic: Standard "(1.05)" Standard ROM
*Font Times-Italic: Standard "(1.05)" Standard ROM
*Font Times-Roman: Standard "(1.05)" Standard ROM
*Font ZapfChancery-MediumItalic: Standard "(1.05)" Standard ROM
*Font ZapfDingbats: Special "(001.005)" Special ROM
*% End of hp-photosmart_5510_series.ppd, 27010 bytes.
Why failed to open??
Can someone help?
Thanks

Kulle
Warlord
Warlord
Posts: 594
Joined: 28 Jan 2017, 10:39
Distribution: v4.0 64bit Xfce
Location: Berlin

Printer problem: Failed to open PPD

Post#2 by Kulle » 21 Oct 2021, 10:40

Hi,
I removed the printer
and again set up completely with cups.
And now:
Aborted printing and error message: "Filter failed"
What do you mean with that?

I'm desperate!

Kulle
Warlord
Warlord
Posts: 594
Joined: 28 Jan 2017, 10:39
Distribution: v4.0 64bit Xfce
Location: Berlin

Printer problem: Failed to open PPD

Post#3 by Kulle » 21 Oct 2021, 10:53

Here /var/log/cups/error_log :

Code: Select all

E [21/Oct/2021:12:22:55 +0200] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
E [21/Oct/2021:12:23:58 +0200] [Client 6] Empty Basic password.
E [21/Oct/2021:12:24:13 +0200] [cups-deviced] PID 2084 (gutenprint52+usb) stopped with status 1!
E [21/Oct/2021:12:24:14 +0200] [cups-deviced] PID 2086 (hpfax) stopped with status 1!
E [21/Oct/2021:12:25:30 +0200] [cups-driverd] Unable to write \"/var/cache/cups/ppds.dat\" - Permission denied
W [21/Oct/2021:12:27:47 +0200] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [21/Oct/2021:12:27:47 +0200] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [21/Oct/2021:12:27:47 +0200] CreateDevice failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [21/Oct/2021:12:28:00 +0200] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [21/Oct/2021:12:28:00 +0200] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [21/Oct/2021:12:28:00 +0200] CreateDevice failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
E [21/Oct/2021:12:30:08 +0200] [Job 1] Job stopped due to filter errors; please consult the error_log file for details.
D [21/Oct/2021:12:30:08 +0200] [Job 1] The following messages were recorded from 12:30:08 to 12:30:08
D [21/Oct/2021:12:30:08 +0200] [Job 1] Adding start banner page "none".
D [21/Oct/2021:12:30:08 +0200] [Job 1] Adding end banner page "none".
D [21/Oct/2021:12:30:08 +0200] [Job 1] File of type application/pdf queued by "guest".
D [21/Oct/2021:12:30:08 +0200] [Job 1] hold_until=0
D [21/Oct/2021:12:30:08 +0200] [Job 1] Queued on "HP_Photosmart_5510_series" by "guest".
D [21/Oct/2021:12:30:08 +0200] [Job 1] time-at-processing=1634812208
D [21/Oct/2021:12:30:08 +0200] [Job 1] 2 filters for job:
D [21/Oct/2021:12:30:08 +0200] [Job 1] pdftopdf (application/pdf to application/vnd.cups-pdf, cost 66)
D [21/Oct/2021:12:30:08 +0200] [Job 1] foomatic-rip-hplip (application/vnd.cups-pdf to printer/HP_Photosmart_5510_series, cost 0)
D [21/Oct/2021:12:30:08 +0200] [Job 1] job-sheets=none,none
D [21/Oct/2021:12:30:08 +0200] [Job 1] argv[0]="HP_Photosmart_5510_series"
D [21/Oct/2021:12:30:08 +0200] [Job 1] argv[1]="1"
D [21/Oct/2021:12:30:08 +0200] [Job 1] argv[2]="guest"
D [21/Oct/2021:12:30:08 +0200] [Job 1] argv[3]="Paketschein_241293539275_Distribution Gm_201021.pdf"
D [21/Oct/2021:12:30:08 +0200] [Job 1] argv[4]="1"
D [21/Oct/2021:12:30:08 +0200] [Job 1] argv[5]="InputSlot=Default number-up=1 Quality=FromPrintoutMode PageSize=A4 noCollate PrintoutMode=Normal DryTime=Zero Duplex=None job-uuid=urn:uuid:9d324196-e861-3c93-63d7-f71453754276 job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1634812208 time-at-processing=1634812208"
D [21/Oct/2021:12:30:08 +0200] [Job 1] argv[6]="/var/spool/cups/d00001-001"
D [21/Oct/2021:12:30:08 +0200] [Job 1] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [21/Oct/2021:12:30:08 +0200] [Job 1] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [21/Oct/2021:12:30:08 +0200] [Job 1] envp[2]="CUPS_DOCROOT=/usr/share/doc/cups"
D [21/Oct/2021:12:30:08 +0200] [Job 1] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [21/Oct/2021:12:30:08 +0200] [Job 1] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [21/Oct/2021:12:30:08 +0200] [Job 1] envp[5]="CUPS_SERVERBIN=/usr/lib64/cups"
D [21/Oct/2021:12:30:08 +0200] [Job 1] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [21/Oct/2021:12:30:08 +0200] [Job 1] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [21/Oct/2021:12:30:08 +0200] [Job 1] envp[8]="HOME=/var/spool/cups/tmp"
D [21/Oct/2021:12:30:08 +0200] [Job 1] envp[9]="PATH=/usr/lib64/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [21/Oct/2021:12:30:08 +0200] [Job 1] envp[10]="SERVER_ADMIN=root@porteus"
D [21/Oct/2021:12:30:08 +0200] [Job 1] envp[11]="SOFTWARE=CUPS/2.1.4"
D [21/Oct/2021:12:30:08 +0200] [Job 1] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [21/Oct/2021:12:30:08 +0200] [Job 1] envp[13]="USER=root"
D [21/Oct/2021:12:30:08 +0200] [Job 1] envp[14]="CUPS_MAX_MESSAGE=2047"
D [21/Oct/2021:12:30:08 +0200] [Job 1] envp[15]="CUPS_SERVER=/var/run/cups/cups.sock"
D [21/Oct/2021:12:30:08 +0200] [Job 1] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [21/Oct/2021:12:30:08 +0200] [Job 1] envp[17]="IPP_PORT=631"
D [21/Oct/2021:12:30:08 +0200] [Job 1] envp[18]="CHARSET=utf-8"
D [21/Oct/2021:12:30:08 +0200] [Job 1] envp[19]="LANG=de_DE.UTF-8"
D [21/Oct/2021:12:30:08 +0200] [Job 1] envp[20]="PPD=/etc/cups/ppd/HP_Photosmart_5510_series.ppd"
D [21/Oct/2021:12:30:08 +0200] [Job 1] envp[21]="RIP_MAX_CACHE=128m"
D [21/Oct/2021:12:30:08 +0200] [Job 1] envp[22]="CONTENT_TYPE=application/pdf"
D [21/Oct/2021:12:30:08 +0200] [Job 1] envp[23]="DEVICE_URI=socket://192.168.178.24:9100"
D [21/Oct/2021:12:30:08 +0200] [Job 1] envp[24]="PRINTER_INFO=HP Photosmart 5510 series"
D [21/Oct/2021:12:30:08 +0200] [Job 1] envp[25]="PRINTER_LOCATION=lab1"
D [21/Oct/2021:12:30:08 +0200] [Job 1] envp[26]="PRINTER=HP_Photosmart_5510_series"
D [21/Oct/2021:12:30:08 +0200] [Job 1] envp[27]="PRINTER_STATE_REASONS=none"
D [21/Oct/2021:12:30:08 +0200] [Job 1] envp[28]="CUPS_FILETYPE=document"
D [21/Oct/2021:12:30:08 +0200] [Job 1] envp[29]="FINAL_CONTENT_TYPE=application/vnd.cups-pdf"
D [21/Oct/2021:12:30:08 +0200] [Job 1] envp[30]="AUTH_I****"
D [21/Oct/2021:12:30:08 +0200] [Job 1] Started filter /usr/lib64/cups/filter/pdftopdf (PID 2540)
D [21/Oct/2021:12:30:08 +0200] [Job 1] Started filter /usr/lib64/cups/filter/foomatic-rip-hplip (PID 2541)
D [21/Oct/2021:12:30:08 +0200] [Job 1] Started backend /usr/lib64/cups/backend/socket (PID 2542)
D [21/Oct/2021:12:30:08 +0200] [Job 1] STATE: +connecting-to-device
D [21/Oct/2021:12:30:08 +0200] [Job 1] Looking up \"192.168.178.24\"...
D [21/Oct/2021:12:30:08 +0200] [Job 1] hrDeviceDesc=\"Photosmart 5510 B111a\"
D [21/Oct/2021:12:30:08 +0200] [Job 1] prtGeneralCurrentLocalization type is 5, expected 2!
D [21/Oct/2021:12:30:08 +0200] [Job 1] backendWaitLoop(snmp_fd=5, addr=0x558949302958, side_cb=0x5589479ea350)
D [21/Oct/2021:12:30:08 +0200] [Job 1] pdftopdf: Last filter determined by the PPD: foomatic-rip-hplip; FINAL_CONTENT_TYPE: application/vnd.cups-pdf => pdftopdf will not log pages in page_log.
D [21/Oct/2021:12:30:08 +0200] [Job 1] Can\'t use \'defined(@array)\' (Maybe you should just omit the defined()?) at /usr/lib64/cups/filter/foomatic-rip-hplip line 1656.
D [21/Oct/2021:12:30:08 +0200] [Job 1] PID 2541 (/usr/lib64/cups/filter/foomatic-rip-hplip) stopped with status 255 (Unknown error 155)
D [21/Oct/2021:12:30:08 +0200] [Job 1] Hint: Try setting the LogLevel to "debug" to find out more.
D [21/Oct/2021:12:30:08 +0200] [Job 1] PID 2542 (/usr/lib64/cups/backend/socket) exited with no errors.
D [21/Oct/2021:12:30:08 +0200] [Job 1] PID 2540 (/usr/lib64/cups/filter/pdftopdf) did not catch or ignore signal 13.
D [21/Oct/2021:12:30:08 +0200] [Job 1] End of messages
D [21/Oct/2021:12:30:08 +0200] [Job 1] printer-state=3(idle)
D [21/Oct/2021:12:30:08 +0200] [Job 1] printer-state-message="Filter failed"
D [21/Oct/2021:12:30:08 +0200] [Job 1] printer-state-reasons=none
E [21/Oct/2021:12:31:54 +0200] [Job 2] Job stopped due to filter errors; please consult the error_log file for details.
D [21/Oct/2021:12:31:54 +0200] [Job 2] The following messages were recorded from 12:31:54 to 12:31:54
D [21/Oct/2021:12:31:54 +0200] [Job 2] Adding start banner page "none".
D [21/Oct/2021:12:31:54 +0200] [Job 2] Adding end banner page "none".
D [21/Oct/2021:12:31:54 +0200] [Job 2] File of type application/pdf queued by "guest".
D [21/Oct/2021:12:31:54 +0200] [Job 2] hold_until=0
D [21/Oct/2021:12:31:54 +0200] [Job 2] Queued on "HP_Photosmart_5510_series" by "guest".
D [21/Oct/2021:12:31:54 +0200] [Job 2] time-at-processing=1634812314
D [21/Oct/2021:12:31:54 +0200] [Job 2] 2 filters for job:
D [21/Oct/2021:12:31:54 +0200] [Job 2] pdftopdf (application/pdf to application/vnd.cups-pdf, cost 66)
D [21/Oct/2021:12:31:54 +0200] [Job 2] foomatic-rip-hplip (application/vnd.cups-pdf to printer/HP_Photosmart_5510_series, cost 0)
D [21/Oct/2021:12:31:54 +0200] [Job 2] job-sheets=none,none
D [21/Oct/2021:12:31:54 +0200] [Job 2] argv[0]="HP_Photosmart_5510_series"
D [21/Oct/2021:12:31:54 +0200] [Job 2] argv[1]="2"
D [21/Oct/2021:12:31:54 +0200] [Job 2] argv[2]="guest"
D [21/Oct/2021:12:31:54 +0200] [Job 2] argv[3]="Paketschein_241293539275_Distribution Gm_201021.pdf"
D [21/Oct/2021:12:31:54 +0200] [Job 2] argv[4]="1"
D [21/Oct/2021:12:31:54 +0200] [Job 2] argv[5]="InputSlot=Default number-up=1 Quality=FromPrintoutMode PageSize=A4 noCollate PrintoutMode=Normal DryTime=Zero Duplex=None job-uuid=urn:uuid:00aa4847-1958-399b-7f10-fb25ae38d491 job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1634812314 time-at-processing=1634812314"
D [21/Oct/2021:12:31:54 +0200] [Job 2] argv[6]="/var/spool/cups/d00002-001"
D [21/Oct/2021:12:31:54 +0200] [Job 2] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [21/Oct/2021:12:31:54 +0200] [Job 2] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [21/Oct/2021:12:31:54 +0200] [Job 2] envp[2]="CUPS_DOCROOT=/usr/share/doc/cups"
D [21/Oct/2021:12:31:54 +0200] [Job 2] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [21/Oct/2021:12:31:54 +0200] [Job 2] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [21/Oct/2021:12:31:54 +0200] [Job 2] envp[5]="CUPS_SERVERBIN=/usr/lib64/cups"
D [21/Oct/2021:12:31:54 +0200] [Job 2] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [21/Oct/2021:12:31:54 +0200] [Job 2] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [21/Oct/2021:12:31:54 +0200] [Job 2] envp[8]="HOME=/var/spool/cups/tmp"
D [21/Oct/2021:12:31:54 +0200] [Job 2] envp[9]="PATH=/usr/lib64/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [21/Oct/2021:12:31:54 +0200] [Job 2] envp[10]="SERVER_ADMIN=root@porteus"
D [21/Oct/2021:12:31:54 +0200] [Job 2] envp[11]="SOFTWARE=CUPS/2.1.4"
D [21/Oct/2021:12:31:54 +0200] [Job 2] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [21/Oct/2021:12:31:54 +0200] [Job 2] envp[13]="USER=root"
D [21/Oct/2021:12:31:54 +0200] [Job 2] envp[14]="CUPS_MAX_MESSAGE=2047"
D [21/Oct/2021:12:31:54 +0200] [Job 2] envp[15]="CUPS_SERVER=/var/run/cups/cups.sock"
D [21/Oct/2021:12:31:54 +0200] [Job 2] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [21/Oct/2021:12:31:54 +0200] [Job 2] envp[17]="IPP_PORT=631"
D [21/Oct/2021:12:31:54 +0200] [Job 2] envp[18]="CHARSET=utf-8"
D [21/Oct/2021:12:31:54 +0200] [Job 2] envp[19]="LANG=de_DE.UTF-8"
D [21/Oct/2021:12:31:54 +0200] [Job 2] envp[20]="PPD=/etc/cups/ppd/HP_Photosmart_5510_series.ppd"
D [21/Oct/2021:12:31:54 +0200] [Job 2] envp[21]="RIP_MAX_CACHE=128m"
D [21/Oct/2021:12:31:54 +0200] [Job 2] envp[22]="CONTENT_TYPE=application/pdf"
D [21/Oct/2021:12:31:54 +0200] [Job 2] envp[23]="DEVICE_URI=socket://192.168.178.24:9100"
D [21/Oct/2021:12:31:54 +0200] [Job 2] envp[24]="PRINTER_INFO=HP Photosmart 5510 series"
D [21/Oct/2021:12:31:54 +0200] [Job 2] envp[25]="PRINTER_LOCATION=lab1"
D [21/Oct/2021:12:31:54 +0200] [Job 2] envp[26]="PRINTER=HP_Photosmart_5510_series"
D [21/Oct/2021:12:31:54 +0200] [Job 2] envp[27]="PRINTER_STATE_REASONS=none"
D [21/Oct/2021:12:31:54 +0200] [Job 2] envp[28]="CUPS_FILETYPE=document"
D [21/Oct/2021:12:31:54 +0200] [Job 2] envp[29]="FINAL_CONTENT_TYPE=application/vnd.cups-pdf"
D [21/Oct/2021:12:31:54 +0200] [Job 2] envp[30]="AUTH_I****"
D [21/Oct/2021:12:31:54 +0200] [Job 2] Started filter /usr/lib64/cups/filter/pdftopdf (PID 2598)
D [21/Oct/2021:12:31:54 +0200] [Job 2] Started filter /usr/lib64/cups/filter/foomatic-rip-hplip (PID 2599)
D [21/Oct/2021:12:31:54 +0200] [Job 2] Started backend /usr/lib64/cups/backend/socket (PID 2600)
D [21/Oct/2021:12:31:54 +0200] [Job 2] STATE: +connecting-to-device
D [21/Oct/2021:12:31:54 +0200] [Job 2] Looking up \"192.168.178.24\"...
D [21/Oct/2021:12:31:54 +0200] [Job 2] pdftopdf: Last filter determined by the PPD: foomatic-rip-hplip; FINAL_CONTENT_TYPE: application/vnd.cups-pdf => pdftopdf will not log pages in page_log.
D [21/Oct/2021:12:31:54 +0200] [Job 2] hrDeviceDesc=\"Photosmart 5510 B111a\"
D [21/Oct/2021:12:31:54 +0200] [Job 2] prtGeneralCurrentLocalization type is 5, expected 2!
D [21/Oct/2021:12:31:54 +0200] [Job 2] backendWaitLoop(snmp_fd=5, addr=0x56091df0b958, side_cb=0x56091c132350)
D [21/Oct/2021:12:31:54 +0200] [Job 2] Can\'t use \'defined(@array)\' (Maybe you should just omit the defined()?) at /usr/lib64/cups/filter/foomatic-rip-hplip line 1656.
D [21/Oct/2021:12:31:54 +0200] [Job 2] PID 2599 (/usr/lib64/cups/filter/foomatic-rip-hplip) stopped with status 255 (Unknown error 155)
D [21/Oct/2021:12:31:54 +0200] [Job 2] Hint: Try setting the LogLevel to "debug" to find out more.
D [21/Oct/2021:12:31:54 +0200] [Job 2] PID 2600 (/usr/lib64/cups/backend/socket) exited with no errors.
D [21/Oct/2021:12:31:54 +0200] [Job 2] PID 2598 (/usr/lib64/cups/filter/pdftopdf) did not catch or ignore signal 13.
D [21/Oct/2021:12:31:54 +0200] [Job 2] End of messages
D [21/Oct/2021:12:31:54 +0200] [Job 2] printer-state=3(idle)
D [21/Oct/2021:12:31:54 +0200] [Job 2] printer-state-message="Filter failed"
D [21/Oct/2021:12:31:54 +0200] [Job 2] printer-state-reasons=none

Kulle
Warlord
Warlord
Posts: 594
Joined: 28 Jan 2017, 10:39
Distribution: v4.0 64bit Xfce
Location: Berlin

Printer problem: Failed to open PPD

Post#4 by Kulle » 21 Oct 2021, 11:51

I was able to solve the problem:
I disassembled the old xzm module (which worked) using xzm2dir.
and then I changed the /etc/cups/printers.conf file.
And now I can print again.
Problem solved.
Note(!) Keep old files, do not delete them prematurely.

Post Reply