Contesto:
1) la stampante è collegata con IP statico
2) è regolarmente identificata sia da cups sia da hplip. L'interfaccia di hplip mi offre pure i tool di configurazione della stampante
3) il driver è quello corretto (lo stesso driver è installato su ubuntu)
4) la configurazione su cups è la seguente (sono le impostazioni messe di default, non saprei dove mettere mano):
Codice: Seleziona tutto
Driver: HP LaserJet Professional p1606dn, hpcups 3.16.11, requires proprietary plugin (color, 2-sided printing)
Connection: hp:/net/HP_LaserJet_Professional_P1606dn?ip=192.168.1.15
Defaults: job-sheets=none, none media=iso_a4_210x297mm sides=one-sided
5) su cups la coda di stampa mi riporta questo report:
Codice: Seleziona tutto
Printer: HP_LaserJet_Professional_P1606dn-5
Name: Unknown
User: Withheld
Size: 1k Unknown
Status stopped ("Filter failed")
"Filter failed"
Se invio una stampa di prova, hplip mi notifica subito l'invio con il seguente messaggio:
HP_LaserJet_Professional_P1606dn Print job has completed: Test Page (gian/7)
Infine, dopo una richiesta di stampa, il log degli errori mi fornisce questo rapporto:
Codice: Seleziona tutto
E [16/Apr/2017:21:46:49 +0200] [Job 8] Can\'t detect file type
E [16/Apr/2017:21:46:49 +0200] [Job 8] Job stopped due to filter errors; please consult the error_log file for details.
D [16/Apr/2017:21:46:49 +0200] [Job 8] The following messages were recorded from 21:46:49 to 21:46:49
D [16/Apr/2017:21:46:49 +0200] [Job 8] Adding start banner page "none".
D [16/Apr/2017:21:46:49 +0200] [Job 8] Queued on "HP_LaserJet_Professional_P1606dn" by "gian".
D [16/Apr/2017:21:46:49 +0200] [Job 8] Auto-typing file...
D [16/Apr/2017:21:46:49 +0200] [Job 8] Request file type is application/postscript.
D [16/Apr/2017:21:46:49 +0200] [Job 8] File of type application/postscript queued by "gian".
D [16/Apr/2017:21:46:49 +0200] [Job 8] Adding end banner page "none".
D [16/Apr/2017:21:46:49 +0200] [Job 8] time-at-processing=1492372009
D [16/Apr/2017:21:46:49 +0200] [Job 8] 4 filters for job:
D [16/Apr/2017:21:46:49 +0200] [Job 8] gstopdf (application/postscript to application/pdf, cost 0)
D [16/Apr/2017:21:46:49 +0200] [Job 8] pdftopdf (application/pdf to application/vnd.cups-pdf, cost 66)
D [16/Apr/2017:21:46:49 +0200] [Job 8] gstoraster (application/vnd.cups-pdf to application/vnd.cups-raster, cost 99)
D [16/Apr/2017:21:46:49 +0200] [Job 8] hpcups (application/vnd.cups-raster to printer/HP_LaserJet_Professional_P1606dn, cost 0)
D [16/Apr/2017:21:46:49 +0200] [Job 8] job-sheets=none,none
D [16/Apr/2017:21:46:49 +0200] [Job 8] argv[0]="HP_LaserJet_Professional_P1606dn"
D [16/Apr/2017:21:46:49 +0200] [Job 8] argv[1]="8"
D [16/Apr/2017:21:46:49 +0200] [Job 8] argv[2]="gian"
D [16/Apr/2017:21:46:49 +0200] [Job 8] argv[3]="tmpymECnM"
D [16/Apr/2017:21:46:49 +0200] [Job 8] argv[4]="1"
D [16/Apr/2017:21:46:49 +0200] [Job 8] argv[5]="finishings=3 number-up=1 job-uuid=urn:uuid:276dab44-0820-3124-7a41-52cce2a18bb6 job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1492372009 time-at-processing=1492372009 document-name-supplied=tmpymECnM"
D [16/Apr/2017:21:46:49 +0200] [Job 8] argv[6]="/var/spool/cups/d00008-001"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[2]="CUPS_DOCROOT=/usr/share/doc/cups"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[5]="CUPS_SERVERBIN=/usr/lib64/cups"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[8]="HOME=/var/spool/cups/tmp"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[9]="PATH=/usr/lib64/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[10]="SERVER_ADMIN=root@giand"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[11]="SOFTWARE=CUPS/2.2.3"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[13]="USER=root"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[14]="CUPS_MAX_MESSAGE=2047"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[15]="CUPS_SERVER=/var/run/cups/cups.sock"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[17]="IPP_PORT=631"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[18]="CHARSET=utf-8"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[19]="LANG=C"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[20]="PPD=/etc/cups/ppd/HP_LaserJet_Professional_P1606dn.ppd"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[21]="RIP_MAX_CACHE=128m"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[22]="CONTENT_TYPE=application/postscript"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[23]="DEVICE_URI=hp:/net/HP_LaserJet_Professional_P1606dn?ip=192.168.1.15"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[24]="PRINTER_INFO="
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[25]="PRINTER_LOCATION="
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[26]="PRINTER=HP_LaserJet_Professional_P1606dn"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[27]="PRINTER_STATE_REASONS=none"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[28]="CUPS_FILETYPE=document"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[29]="FINAL_CONTENT_TYPE=application/vnd.cups-raster"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[30]="AUTH_I****"
D [16/Apr/2017:21:46:49 +0200] [Job 8] Started filter /usr/lib64/cups/filter/gstopdf (PID 22480)
D [16/Apr/2017:21:46:49 +0200] [Job 8] Started filter /usr/lib64/cups/filter/pdftopdf (PID 22481)
D [16/Apr/2017:21:46:49 +0200] [Job 8] Started filter /usr/lib64/cups/filter/gstoraster (PID 22482)
D [16/Apr/2017:21:46:49 +0200] [Job 8] Started filter /usr/lib64/cups/filter/hpcups (PID 22483)
D [16/Apr/2017:21:46:49 +0200] [Job 8] Started backend /usr/lib64/cups/backend/hp (PID 22484)
D [16/Apr/2017:21:46:49 +0200] [Job 8] PID 22481 (/usr/lib64/cups/filter/pdftopdf) stopped with status 127 (File too large)
D [16/Apr/2017:21:46:49 +0200] [Job 8] Hint: Try setting the LogLevel to "debug" to find out more.
D [16/Apr/2017:21:46:49 +0200] [Job 8] HP_LaserJet_Professional_P1606dn: error while loading shared libraries: libqpdf.so.17: cannot open shared object file: No such file or directory
D [16/Apr/2017:21:46:49 +0200] [Job 8] gstopdf argv[6] = 8 gian tmpymECnM 1 finishings=3 number-up=1 job-uuid=urn:uuid:276dab44-0820-3124-7a41-52cce2a18bb6 job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1492372009 time-at-processing=1492372009 document-name-supplied=tmpymECnM /var/spool/cups/d00008-001
D [16/Apr/2017:21:46:49 +0200] [Job 8] PPD: /etc/cups/ppd/HP_LaserJet_Professional_P1606dn.ppd
D [16/Apr/2017:21:46:49 +0200] [Job 8] OUTFORMAT=\"(null)\", so output format will be CUPS/PWG Raster
D [16/Apr/2017:21:46:49 +0200] [Job 8] OUTFORMAT=\"PDF\", so output format will be PDF
D [16/Apr/2017:21:46:49 +0200] [Job 8] PID 22482 (/usr/lib64/cups/filter/gstoraster) stopped with status 1.
D [16/Apr/2017:21:46:49 +0200] [Job 8] Hint: Try setting the LogLevel to "debug" to find out more.
D [16/Apr/2017:21:46:49 +0200] [Job 8] Color Manager: Calibration Mode/Off
D [16/Apr/2017:21:46:49 +0200] [Job 8] prnt/hpcups/HPCupsFilter.cpp 565: cupsRasterOpen failed, fd = 0
D [16/Apr/2017:21:46:49 +0200] [Job 8] PID 22483 (/usr/lib64/cups/filter/hpcups) stopped with status 1.
D [16/Apr/2017:21:46:49 +0200] [Job 8] Hint: Try setting the LogLevel to "debug" to find out more.
D [16/Apr/2017:21:46:49 +0200] [Job 8] prnt/backend/hp.c 919: ERROR: null print job total=0
D [16/Apr/2017:21:46:49 +0200] [Job 8] PID 22484 (/usr/lib64/cups/backend/hp) exited with no errors.
D [16/Apr/2017:21:46:49 +0200] [Job 8] Calling FindDeviceById(cups-HP_LaserJet_Professional_P1606dn)
D [16/Apr/2017:21:46:49 +0200] [Job 8] Failed to send: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
D [16/Apr/2017:21:46:49 +0200] [Job 8] Failed to get find device cups-HP_LaserJet_Professional_P1606dn
D [16/Apr/2017:21:46:49 +0200] [Job 8] Calling FindDeviceById(cups-HP_LaserJet_Professional_P1606dn)
D [16/Apr/2017:21:46:49 +0200] [Job 8] Failed to send: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
D [16/Apr/2017:21:46:49 +0200] [Job 8] Failed to get device cups-HP_LaserJet_Professional_P1606dn
D [16/Apr/2017:21:46:49 +0200] [Job 8] Color Manager: no profiles specified in PPD
D [16/Apr/2017:21:46:49 +0200] [Job 8] Color Manager: ICC Profile: None
D [16/Apr/2017:21:46:49 +0200] [Job 8] Ghostscript using Any-Part-of-Pixel method to fill paths.
D [16/Apr/2017:21:46:49 +0200] [Job 8] Ghostscript command line: gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -dNOMEDIAATTRS -sstdout=%stderr -sOutputFile=%stdout -sDEVICE=pdfwrite -dCompatibilityLevel=1.3 -dAutoRotatePages=/None -dAutoFilterColorImages=false -dNOPLATFONTS -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/printer -dColorConversionStrategy=/LeaveColorUnchanged -r600x600 -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=841 -I/usr/share/cups/fonts -c \'<</.HWMargins[18.000000 15.500000 18.000000 15.500000] /Margins[0 0]>>setpagedevice\' -f -_
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[0]=\"OUTFORMAT=PDF\"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[1]=\"CUPS_DOCROOT=/usr/share/doc/cups\"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[2]=\"CUPS_CACHEDIR=/var/cache/cups\"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[3]=\"LANG=C\"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[4]=\"CUPS_ENCRYPTION=IfRequested\"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[5]=\"PRINTER_INFO=\"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[6]=\"CUPS_FILETYPE=document\"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[7]=\"CUPS_REQUESTROOT=/var/spool/cups\"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[8]=\"SERVER_ADMIN=root@giand\"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[9]=\"CUPS_SERVERBIN=/usr/lib64/cups\"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[10]=\"CUPS_MAX_MESSAGE=2047\"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[11]=\"USER=root\"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[12]=\"CUPS_DATADIR=/usr/share/cups\"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[13]=\"PWD=/\"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[14]=\"HOME=/var/spool/cups/tmp\"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[15]=\"PRINTER_LOCATION=\"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[16]=\"RIP_MAX_CACHE=128m\"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[17]=\"CONTENT_TYPE=application/postscript\"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[18]=\"CHARSET=utf-8\"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[19]=\"IPP_PORT=631\"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[20]=\"TMPDIR=/var/spool/cups/tmp\"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[21]=\"CUPS_STATEDIR=/var/run/cups\"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[22]=\"CUPS_FONTPATH=/usr/share/cups/fonts\"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[23]=\"CUPS_SERVERROOT=/etc/cups\"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[24]=\"PPD=/etc/cups/ppd/HP_LaserJet_Professional_P1606dn.ppd\"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[25]=\"SOFTWARE=CUPS/2.2.3\"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[26]=\"CUPS_SERVER=/var/run/cups/cups.sock\"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[27]=\"SHLVL=1\"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[28]=\"PRINTER=HP_LaserJet_Professional_P1606dn\"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[29]=\"FINAL_CONTENT_TYPE=application/vnd.cups-raster\"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[30]=\"DEVICE_URI=hp:/net/HP_LaserJet_Professional_P1606dn?ip=192.168.1.15\"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[31]=\"PATH=/usr/lib64/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin\"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[32]=\"AUTH_INFO_REQUIRED=none\"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[33]=\"PRINTER_STATE_REASONS=none\"
D [16/Apr/2017:21:46:49 +0200] [Job 8] envp[34]=\"_=/usr/lib64/cups/filter/gstoraster\"
D [16/Apr/2017:21:46:49 +0200] [Job 8] Error: /ioerror in --showpage--
D [16/Apr/2017:21:46:49 +0200] [Job 8] Operand stack:
D [16/Apr/2017:21:46:49 +0200] [Job 8] 201.847 90.0 1 true
D [16/Apr/2017:21:46:49 +0200] [Job 8] Execution stack:
D [16/Apr/2017:21:46:49 +0200] [Job 8] %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 2003 1 3 %oparray_pop 2002 1 3 %oparray_pop 1986 1 3 %oparray_pop 1868 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- 1874 2 3 %oparray_pop --nostringval-- --nostringval--
D [16/Apr/2017:21:46:49 +0200] [Job 8] Dictionary stack:
D [16/Apr/2017:21:46:49 +0200] [Job 8] --dict:1217/1684(ro)(G)-- --dict:0/20(G)-- --dict:128/200(L)--
D [16/Apr/2017:21:46:49 +0200] [Job 8] Current allocation mode is local
D [16/Apr/2017:21:46:49 +0200] [Job 8] Last OS error: Broken pipe
D [16/Apr/2017:21:46:49 +0200] [Job 8] GPL Ghostscript 9.20: Unrecoverable error, exit code 1
D [16/Apr/2017:21:46:49 +0200] [Job 8] GPL Ghostscript 9.20: ERROR: ioerror (-12) on closing pdfwrite device.
D [16/Apr/2017:21:46:49 +0200] [Job 8] PID 22480 (/usr/lib64/cups/filter/gstopdf) stopped with status 1.
D [16/Apr/2017:21:46:49 +0200] [Job 8] Hint: Try setting the LogLevel to "debug" to find out more.
D [16/Apr/2017:21:46:49 +0200] [Job 8] End of messages
D [16/Apr/2017:21:46:49 +0200] [Job 8] printer-state=3(idle)
D [16/Apr/2017:21:46:49 +0200] [Job 8] printer-state-message="Color Manager: no profiles specified in PPD"
D [16/Apr/2017:21:46:49 +0200] [Job 8] printer-state-reasons=none
Grazie