Since Ubuntu 19.04 migration, my printer does not print anymore

Asked by Franck Bonnefoy on 2019-08-23

Hi all
Since the migration to Ubuntu 19.04, my printer does not print (or scan anymore).
I have fully installed HPLIP 3.19.6 and setup the printer : everything is installed like a charm, even th proprietary plugin, but the test page is not printed. The task is failed with an error "filter failed".
hp-setup returns no error when I create the printer
But hp-doctor says :
--------------
| PERMISSION |
--------------
Checking for Configured Queues....
error: PPD /etc/cups/ppd/.ppd file not found
warning: is not HP Device.
warning: Fail to read ppd=/etc/cups/ppd/.ppd file
warning: Insufficient permission to access file /etc/cups/ppd/.ppd
warning: Could not complete Queue(s) configuration check

It seems it cannot find the ppd file, but it has no name, only the extension. Very strange !
The permissions in /etc/cups/ppd folder seems OK :
franck@MAHE:/data/download$ ll /etc/cups/ppd
total 32
drwxr-xr-x 2 root lp 4096 août 23 16:20 ./
drwxr-xr-x 5 root lp 4096 août 23 16:21 ../
-rw-r----- 1 root lp 11107 août 23 16:20 HP_LaserJet_Professional_M1212nf_MFP.ppd
-rw-r----- 1 root lp 11107 août 23 16:07 HP_LaserJet_Professional_M1212nf_MFP.ppd.O

What's wrong with this config ?

Thanks

Question information

Language:
English Edit question
Status:
Expired
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
2019-08-25
Last reply:
2019-09-10
Franck Bonnefoy (fbo84) said : #1

New information :
In /var/log/cups, the error_log file contains the following lines :
E [25/Aug/2019:21:30:42 +0200] [Job 414] Job stopped due to filter errors; please consult the /var/log/cups/error_log file for details.
D [25/Aug/2019:21:30:42 +0200] [Job 414] The following messages were recorded from 21:30:33 to 21:30:42
D [25/Aug/2019:21:30:42 +0200] [Job 414] Applying default options...
D [25/Aug/2019:21:30:42 +0200] [Job 414] Adding start banner page "none".
D [25/Aug/2019:21:30:42 +0200] [Job 414] Adding end banner page "none".
D [25/Aug/2019:21:30:42 +0200] [Job 414] File of type application/pdf queued by "franck".
D [25/Aug/2019:21:30:42 +0200] [Job 414] hold_until=0
D [25/Aug/2019:21:30:42 +0200] [Job 414] Queued on "HP_LaserJet_Professional_M1212nf_MFP" by "franck".
D [25/Aug/2019:21:30:42 +0200] [Job 414] time-at-processing=1566761433
D [25/Aug/2019:21:30:42 +0200] [Job 414] 3 filters for job:
D [25/Aug/2019:21:30:42 +0200] [Job 414] pdftopdf (application/pdf to application/vnd.cups-pdf, cost 66)
D [25/Aug/2019:21:30:42 +0200] [Job 414] gstoraster (application/vnd.cups-pdf to application/vnd.cups-raster, cost 99)
D [25/Aug/2019:21:30:42 +0200] [Job 414] hpcups (application/vnd.cups-raster to printer/HP_LaserJet_Professional_M1212nf_MFP, cost 0)
D [25/Aug/2019:21:30:42 +0200] [Job 414] job-sheets=none,none
D [25/Aug/2019:21:30:42 +0200] [Job 414] argv[0]="HP_LaserJet_Professional_M1212nf_MFP"
D [25/Aug/2019:21:30:42 +0200] [Job 414] argv[1]="414"
D [25/Aug/2019:21:30:42 +0200] [Job 414] argv[2]="franck"
D [25/Aug/2019:21:30:42 +0200] [Job 414] argv[3]="Question #683105 : Questions : HPLIP"
D [25/Aug/2019:21:30:42 +0200] [Job 414] argv[4]="1"
D [25/Aug/2019:21:30:42 +0200] [Job 414] argv[5]="Duplex=None PageSize=Letter ColorModel=Gray Collate job-uuid=urn:uuid:6fbe7afd-e4bf-3d19-4153-8108afdf75d0 job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1566761433 time-at-processing=1566761433"
D [25/Aug/2019:21:30:42 +0200] [Job 414] argv[6]="/var/spool/cups/d00414-001"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc-root"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[7]="CUPS_STATEDIR=/run/cups"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[8]="HOME=/var/spool/cups/tmp"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[10]="SERVER_ADMIN=root@MAHE"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[11]="SOFTWARE=CUPS/2.2.10"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[13]="USER=root"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[14]="CUPS_MAX_MESSAGE=2047"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[15]="CUPS_SERVER=/var/run/cups/cups.sock"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[17]="IPP_PORT=631"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[18]="CHARSET=utf-8"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[19]="LANG=fr_FR.UTF-8"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[20]="PPD=/etc/cups/ppd/HP_LaserJet_Professional_M1212nf_MFP.ppd"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[21]="RIP_MAX_CACHE=128m"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[22]="CONTENT_TYPE=application/pdf"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[23]="DEVICE_URI=hp:/net/HP_LaserJet_Professional_M1212nf_MFP?ip=192.168.1.17"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[24]="PRINTER_INFO=HP LaserJet Professional m1212nf MFP, hpcups 3.19.6, requires proprietary plugin"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[25]="PRINTER_LOCATION="
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[26]="PRINTER=HP_LaserJet_Professional_M1212nf_MFP"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[27]="PRINTER_STATE_REASONS=none"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[28]="CUPS_FILETYPE=document"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[29]="FINAL_CONTENT_TYPE=application/vnd.cups-raster"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[30]="AUTH_I****"
D [25/Aug/2019:21:30:42 +0200] [Job 414] Started filter /usr/lib/cups/filter/pdftopdf (PID 4837)
D [25/Aug/2019:21:30:42 +0200] [Job 414] Started filter /usr/lib/cups/filter/gstoraster (PID 4838)
D [25/Aug/2019:21:30:42 +0200] [Job 414] Started filter /usr/lib/cups/filter/hpcups (PID 4839)
D [25/Aug/2019:21:30:42 +0200] [Job 414] Started backend /usr/lib/cups/backend/hp (PID 4840)
D [25/Aug/2019:21:30:42 +0200] [Job 414] OUTFORMAT=\"(null)\", so output format will be CUPS/PWG Raster
D [25/Aug/2019:21:30:42 +0200] [Job 414] pdftopdf: Last filter determined by the PPD: hpcups; FINAL_CONTENT_TYPE: application/vnd.cups-raster => pdftopdf will not log pages in page_log.
D [25/Aug/2019:21:30:42 +0200] [Job 414] PDF interactive form and annotation flattening done via QPDF
D [25/Aug/2019:21:30:42 +0200] [Job 414] Color Manager: Calibration Mode/Off
D [25/Aug/2019:21:30:42 +0200] [Job 414] PID 4837 (/usr/lib/cups/filter/pdftopdf) exited with no errors.
D [25/Aug/2019:21:30:42 +0200] [Job 414] Calling FindDeviceById(cups-HP_LaserJet_Professional_M1212nf_MFP)
D [25/Aug/2019:21:30:42 +0200] [Job 414] Found device /org/freedesktop/ColorManager/devices/cups_HP_LaserJet_Professional_M1212nf_MFP
D [25/Aug/2019:21:30:42 +0200] [Job 414] Calling org.freedesktop.ColorManager.Device.Get(ProfilingInhibitors)
D [25/Aug/2019:21:30:42 +0200] [Job 414] Calling FindDeviceById(cups-HP_LaserJet_Professional_M1212nf_MFP)
D [25/Aug/2019:21:30:42 +0200] [Job 414] Found device /org/freedesktop/ColorManager/devices/cups_HP_LaserJet_Professional_M1212nf_MFP
D [25/Aug/2019:21:30:42 +0200] [Job 414] Calling GetProfileForQualifiers(Gray.Plain....)
D [25/Aug/2019:21:30:42 +0200] [Job 414] Found profile /org/freedesktop/ColorManager/profiles/HP_LaserJet_Professional_M1212nf_MFP_Gray__
D [25/Aug/2019:21:30:42 +0200] [Job 414] Calling org.freedesktop.ColorManager.Profile.Get(Filename)
D [25/Aug/2019:21:30:42 +0200] [Job 414] Use profile filename: \'\'
D [25/Aug/2019:21:30:42 +0200] [Job 414] Color Manager: ICC Profile:
D [25/Aug/2019:21:30:42 +0200] [Job 414] Ghostscript using Any-Part-of-Pixel method to fill paths.
D [25/Aug/2019:21:30:42 +0200] [Job 414] Ghostscript command line: gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -dNOMEDIAATTRS -dShowAcroForm -sstdout=%stderr -sOutputFile=%stdout -sDEVICE=cups -sMediaType=Plain -sOutputType=0 -r600x600 -dMediaPosition=7 -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -dcupsBitsPerColor=1 -dcupsColorOrder=0 -dcupsColorSpace=3 -dcupsRowCount=1 -dcupsRowStep=2 -dcupsInteger0=2 -scupsPageSizeName=Letter -I/usr/share/cups/fonts -c \'<</.HWMargins[12.000000 12.000000 12.000000 12.000000] /Margins[0 0]>>setpagedevice\' -f -_
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[0]=\"CUPS_CACHEDIR=/var/cache/cups\"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[1]=\"CUPS_DATADIR=/usr/share/cups\"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[2]=\"CUPS_DOCROOT=/usr/share/cups/doc-root\"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[3]=\"CUPS_FONTPATH=/usr/share/cups/fonts\"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[4]=\"CUPS_REQUESTROOT=/var/spool/cups\"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[5]=\"CUPS_SERVERBIN=/usr/lib/cups\"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[6]=\"CUPS_SERVERROOT=/etc/cups\"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[7]=\"CUPS_STATEDIR=/run/cups\"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[8]=\"HOME=/var/spool/cups/tmp\"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[9]=\"PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin\"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[10]=\"SERVER_ADMIN=root@MAHE\"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[11]=\"SOFTWARE=CUPS/2.2.10\"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[12]=\"USER=root\"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[13]=\"CUPS_MAX_MESSAGE=2047\"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[14]=\"CUPS_SERVER=/var/run/cups/cups.sock\"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[15]=\"CUPS_ENCRYPTION=IfRequested\"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[16]=\"IPP_PORT=631\"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[17]=\"CHARSET=utf-8\"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[18]=\"LANG=fr_FR.UTF-8\"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[19]=\"PPD=/etc/cups/ppd/HP_LaserJet_Professional_M1212nf_MFP.ppd\"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[20]=\"RIP_MAX_CACHE=128m\"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[21]=\"CONTENT_TYPE=application/pdf\"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[22]=\"DEVICE_URI=hp:/net/HP_LaserJet_Professional_M1212nf_MFP?ip=192.168.1.17\"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[23]=\"PRINTER_INFO=HP LaserJet Professional m1212nf MFP, hpcups 3.19.6, requires proprietary plugin\"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[24]=\"PRINTER_LOCATION=\"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[25]=\"PRINTER=HP_LaserJet_Professional_M1212nf_MFP\"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[26]=\"PRINTER_STATE_REASONS=none\"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[27]=\"CUPS_FILETYPE=document\"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[28]=\"FINAL_CONTENT_TYPE=application/vnd.cups-raster\"
D [25/Aug/2019:21:30:42 +0200] [Job 414] envp[29]=\"AUTH_INFO_REQUIRED=none\"
D [25/Aug/2019:21:30:42 +0200] [Job 414] Start rendering...
D [25/Aug/2019:21:30:42 +0200] [Job 414] Set job-printer-state-message to "Start rendering...", current level=INFO
D [25/Aug/2019:21:30:42 +0200] [Job 414] Processing page 1...
D [25/Aug/2019:21:30:42 +0200] [Job 414] Set job-printer-state-message to "Processing page 1...", current level=INFO
D [25/Aug/2019:21:30:42 +0200] [Job 414] prnt/hpcups/HPCupsFilter.cpp 647: DEBUG: imageProcessorStartPage failed result = 2
D [25/Aug/2019:21:30:42 +0200] [Job 414] STATE: +connecting-to-device
D [25/Aug/2019:21:30:42 +0200] [Job 414] STATE: -connecting-to-device
D [25/Aug/2019:21:30:42 +0200] [Job 414] STATE: -media-empty-error,media-jam-error,hplip.plugin-error,cover-open-error,toner-empty-error,other
D [25/Aug/2019:21:30:42 +0200] [Job 414] PAGE: 1 1\r
D [25/Aug/2019:21:30:42 +0200] [Job 414] PID 4839 (/usr/lib/cups/filter/hpcups) crashed on signal 11.
D [25/Aug/2019:21:30:42 +0200] [Job 414] Hint: Try setting the LogLevel to "debug" to find out more.
D [25/Aug/2019:21:30:42 +0200] [Job 414] Processing page 2...
D [25/Aug/2019:21:30:42 +0200] [Job 414] Processing page 3...
D [25/Aug/2019:21:30:42 +0200] [Job 414] Processing page 4...
D [25/Aug/2019:21:30:42 +0200] [Job 414] Processing page 5...
D [25/Aug/2019:21:30:42 +0200] [Job 414] Rendering completed
D [25/Aug/2019:21:30:42 +0200] [Job 414] PID 4838 (/usr/lib/cups/filter/gstoraster) exited with no errors.
D [25/Aug/2019:21:30:42 +0200] [Job 414] ready to print
D [25/Aug/2019:21:30:42 +0200] [Job 414] PID 4840 (/usr/lib/cups/backend/hp) exited with no errors.
D [25/Aug/2019:21:30:42 +0200] [Job 414] End of messages
D [25/Aug/2019:21:30:42 +0200] [Job 414] printer-state=3(idle)
D [25/Aug/2019:21:30:42 +0200] [Job 414] printer-state-message="ready to print"
D [25/Aug/2019:21:30:42 +0200] [Job 414] printer-state-reasons=none

Launchpad Janitor (janitor) said : #2

This question was expired because it remained in the 'Open' state without activity for the last 15 days.