Ghostscript update breaks printer driver

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
dhdurgee
Level 4
Level 4
Posts: 325
Joined: Thu Jul 02, 2009 7:56 pm

Ghostscript update breaks printer driver

Post by dhdurgee »

Earlier today ghostscript updated to 9.26 here. Since this update my PCL5 printing on my Brother HL-5050 network printer is dead. The cups error log shows:

Code: Select all

D [08/May/2019:14:44:36 -0400] [Job 306] File of type application/pdf queued by "dhdurgee".
D [08/May/2019:14:44:36 -0400] [Job 306] hold_until=0
D [08/May/2019:14:44:36 -0400] [Job 306] Queued on "Brother-HL-5050-PCL5" by "dhdurgee".
D [08/May/2019:14:44:36 -0400] [Job 306] time-at-processing=1557341076
D [08/May/2019:14:44:36 -0400] [Job 306] 2 filters for job:
D [08/May/2019:14:44:36 -0400] [Job 306] pdftopdf (application/pdf to application/vnd.cups-pdf, cost 66)
D [08/May/2019:14:44:36 -0400] [Job 306] foomatic-rip (application/vnd.cups-pdf to printer/Brother-HL-5050-PCL5, cost 0)
D [08/May/2019:14:44:36 -0400] [Job 306] job-sheets=none,none
D [08/May/2019:14:44:36 -0400] [Job 306] argv[0]="Brother-HL-5050-PCL5"
D [08/May/2019:14:44:36 -0400] [Job 306] argv[1]="306"
D [08/May/2019:14:44:36 -0400] [Job 306] argv[2]="dhdurgee"
D [08/May/2019:14:44:36 -0400] [Job 306] argv[3]="BOS-3447-Q2-Coupon_5_9_BOGO_31490eblast.jpg (JPEG Image, 570 × 337 pixels)"
D [08/May/2019:14:44:36 -0400] [Job 306] argv[4]="1"
D [08/May/2019:14:44:36 -0400] [Job 306] argv[5]="InputSlot=Default Quality=FromPrintoutMode PageSize=Letter Duplex=None noCollate PrintoutMode=Normal number-up=1 job-uuid=urn:uuid:2f3fab54-512d-3aeb-72e4-71dacf5bcf49 job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1557341076 time-at-processing=1557341076"
D [08/May/2019:14:44:36 -0400] [Job 306] argv[6]="/var/spool/cups/d00306-001"
D [08/May/2019:14:44:36 -0400] [Job 306] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [08/May/2019:14:44:36 -0400] [Job 306] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [08/May/2019:14:44:36 -0400] [Job 306] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc-root"
D [08/May/2019:14:44:36 -0400] [Job 306] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [08/May/2019:14:44:36 -0400] [Job 306] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [08/May/2019:14:44:36 -0400] [Job 306] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [08/May/2019:14:44:36 -0400] [Job 306] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [08/May/2019:14:44:36 -0400] [Job 306] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [08/May/2019:14:44:36 -0400] [Job 306] envp[8]="HOME=/var/spool/cups/tmp"
D [08/May/2019:14:44:36 -0400] [Job 306] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [08/May/2019:14:44:36 -0400] [Job 306] envp[10]="SERVER_ADMIN=root@Z560"
D [08/May/2019:14:44:36 -0400] [Job 306] envp[11]="SOFTWARE=CUPS/2.1.3"
D [08/May/2019:14:44:36 -0400] [Job 306] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [08/May/2019:14:44:36 -0400] [Job 306] envp[13]="USER=root"
D [08/May/2019:14:44:36 -0400] [Job 306] envp[14]="CUPS_MAX_MESSAGE=2047"
D [08/May/2019:14:44:36 -0400] [Job 306] envp[15]="CUPS_SERVER=/var/run/cups/cups.sock"
D [08/May/2019:14:44:36 -0400] [Job 306] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [08/May/2019:14:44:36 -0400] [Job 306] envp[17]="IPP_PORT=631"
D [08/May/2019:14:44:36 -0400] [Job 306] envp[18]="CHARSET=utf-8"
D [08/May/2019:14:44:36 -0400] [Job 306] envp[19]="LANG=en_US.UTF-8"
D [08/May/2019:14:44:36 -0400] [Job 306] envp[20]="PPD=/etc/cups/ppd/Brother-HL-5050-PCL5.ppd"
D [08/May/2019:14:44:36 -0400] [Job 306] envp[21]="RIP_MAX_CACHE=128m"
D [08/May/2019:14:44:36 -0400] [Job 306] envp[22]="CONTENT_TYPE=application/pdf"
D [08/May/2019:14:44:36 -0400] [Job 306] envp[23]="DEVICE_URI=lpd://192.168.80.215/HL-5050"
D [08/May/2019:14:44:36 -0400] [Job 306] envp[24]="PRINTER_INFO=Brother HL-5050-PCL5"
D [08/May/2019:14:44:36 -0400] [Job 306] envp[25]="PRINTER_LOCATION=Office"
D [08/May/2019:14:44:36 -0400] [Job 306] envp[26]="PRINTER=Brother-HL-5050-PCL5"
D [08/May/2019:14:44:36 -0400] [Job 306] envp[27]="PRINTER_STATE_REASONS=none"
D [08/May/2019:14:44:36 -0400] [Job 306] envp[28]="CUPS_FILETYPE=document"
D [08/May/2019:14:44:36 -0400] [Job 306] envp[29]="FINAL_CONTENT_TYPE=application/vnd.cups-pdf"
D [08/May/2019:14:44:36 -0400] [Job 306] envp[30]="AUTH_I****"
D [08/May/2019:14:44:36 -0400] [Job 306] Started filter /usr/lib/cups/filter/pdftopdf (PID 8156)
D [08/May/2019:14:44:36 -0400] [Job 306] Started filter /usr/lib/cups/filter/foomatic-rip (PID 8157)
D [08/May/2019:14:44:36 -0400] [Job 306] Started backend /usr/lib/cups/backend/lpd (PID 8158)
D [08/May/2019:14:44:36 -0400] [Job 306] STATE: +connecting-to-device
D [08/May/2019:14:44:36 -0400] [Job 306] Looking up \"192.168.80.215\"...
D [08/May/2019:14:44:36 -0400] [Job 306] backendWaitLoop(snmp_fd=7, addr=0x55863265ba38, side_cb=0x558631010830)
D [08/May/2019:14:44:36 -0400] [Job 306] Calling FindDeviceById(cups-Brother-HL-5050-PCL5)
D [08/May/2019:14:44:36 -0400] [Job 306] Found device /org/freedesktop/ColorManager/devices/cups_Brother_HL_5050_PCL5
D [08/May/2019:14:44:36 -0400] [Job 306] Calling org.freedesktop.ColorManager.Device.Get(ProfilingInhibitors)
D [08/May/2019:14:44:36 -0400] [Job 306] \'CM Color Calibration\' Mode in SPOOLER-LESS: Off
D [08/May/2019:14:44:36 -0400] [Job 306] Getting input from file 
D [08/May/2019:14:44:36 -0400] [Job 306] foomatic-rip version 1.8.3 running...
D [08/May/2019:14:44:36 -0400] [Job 306] Parsing PPD file ...
D [08/May/2019:14:44:36 -0400] [Job 306] Added option ColorSpace
D [08/May/2019:14:44:36 -0400] [Job 306] Added option Resolution
D [08/May/2019:14:44:36 -0400] [Job 306] Added option PageSize
D [08/May/2019:14:44:36 -0400] [Job 306] Added option PrintoutMode
D [08/May/2019:14:44:36 -0400] [Job 306] Added option InputSlot
D [08/May/2019:14:44:36 -0400] [Job 306] Added option ImageableArea
D [08/May/2019:14:44:36 -0400] [Job 306] Added option PaperDimension
D [08/May/2019:14:44:36 -0400] [Job 306] Added option Duplex
D [08/May/2019:14:44:36 -0400] [Job 306] Added option Quality
D [08/May/2019:14:44:36 -0400] [Job 306] Added option Font
D [08/May/2019:14:44:36 -0400] [Job 306] Parameter Summary
D [08/May/2019:14:44:36 -0400] [Job 306] -----------------
D [08/May/2019:14:44:36 -0400] [Job 306] Spooler: cups
D [08/May/2019:14:44:36 -0400] [Job 306] Printer: Brother-HL-5050-PCL5
D [08/May/2019:14:44:36 -0400] [Job 306] Shell: /bin/sh
D [08/May/2019:14:44:36 -0400] [Job 306] PPD file: /etc/cups/ppd/Brother-HL-5050-PCL5.ppd
D [08/May/2019:14:44:36 -0400] [Job 306] ATTR file: 
D [08/May/2019:14:44:36 -0400] [Job 306] Printer model: Brother HL-5050 Foomatic/hpijs-pcl5e
D [08/May/2019:14:44:36 -0400] [Job 306] Job title: BOS-3447-Q2-Coupon_5_9_BOGO_31490eblast.jpg JPEG Image, 570 × 337 pixels
D [08/May/2019:14:44:36 -0400] [Job 306] File(s) to be printed:
D [08/May/2019:14:44:36 -0400] [Job 306] <STDIN>
D [08/May/2019:14:44:36 -0400] [Job 306] Ghostscript extra search path (\'GS_LIB\'): /usr/share/cups/fonts
D [08/May/2019:14:44:36 -0400] [Job 306] Printing system options:
D [08/May/2019:14:44:36 -0400] [Job 306] Pondering option \'noCollate\'
D [08/May/2019:14:44:36 -0400] [Job 306] Unknown boolean option \"noCollate\".
D [08/May/2019:14:44:36 -0400] [Job 306] Pondering option \'number-up=1\'
D [08/May/2019:14:44:36 -0400] [Job 306] Unknown option number-up=1.
D [08/May/2019:14:44:36 -0400] [Job 306] Pondering option \'job-uuid=urn:uuid:2f3fab54-512d-3aeb-72e4-71dacf5bcf49\'
D [08/May/2019:14:44:36 -0400] [Job 306] Unknown option job-uuid=urn:uuid:2f3fab54-512d-3aeb-72e4-71dacf5bcf49.
D [08/May/2019:14:44:36 -0400] [Job 306] Pondering option \'job-originating-host-name=localhost\'
D [08/May/2019:14:44:36 -0400] [Job 306] Unknown option job-originating-host-name=localhost.
D [08/May/2019:14:44:36 -0400] [Job 306] Pondering option \'date-time-at-creation=\'
D [08/May/2019:14:44:36 -0400] [Job 306] Unknown option date-time-at-creation=.
D [08/May/2019:14:44:36 -0400] [Job 306] Pondering option \'date-time-at-processing=\'
D [08/May/2019:14:44:36 -0400] [Job 306] Unknown option date-time-at-processing=.
D [08/May/2019:14:44:36 -0400] [Job 306] Pondering option \'time-at-creation=1557341076\'
D [08/May/2019:14:44:36 -0400] [Job 306] Unknown option time-at-creation=1557341076.
D [08/May/2019:14:44:36 -0400] [Job 306] Pondering option \'time-at-processing=1557341076\'
D [08/May/2019:14:44:36 -0400] [Job 306] Unknown option time-at-processing=1557341076.
D [08/May/2019:14:44:36 -0400] [Job 306] CM Color Calibration Mode in CUPS: Off
D [08/May/2019:14:44:36 -0400] [Job 306] Options from the PPD file:
D [08/May/2019:14:44:36 -0400] [Job 306] Pondering option \'InputSlot=Default\'
D [08/May/2019:14:44:36 -0400] [Job 306] Pondering option \'Quality=FromPrintoutMode\'
D [08/May/2019:14:44:36 -0400] [Job 306] Pondering option \'PageSize=Letter\'
D [08/May/2019:14:44:36 -0400] [Job 306] Pondering option \'Duplex=None\'
D [08/May/2019:14:44:36 -0400] [Job 306] Pondering option \'PrintoutMode=Normal\'
D [08/May/2019:14:44:36 -0400] [Job 306] ================================================
D [08/May/2019:14:44:36 -0400] [Job 306] File: <STDIN>
D [08/May/2019:14:44:36 -0400] [Job 306] ================================================
D [08/May/2019:14:44:36 -0400] [Job 306] Filetype: PDF
D [08/May/2019:14:44:36 -0400] [Job 306] Storing temporary files in /tmp
D [08/May/2019:14:44:36 -0400] [Job 306] PID 8156 (/usr/lib/cups/filter/pdftopdf) exited with no errors.
D [08/May/2019:14:44:36 -0400] [Job 306] Process is dying with \"Unable to determine number of pages, page count: -1
D [08/May/2019:14:44:36 -0400] [Job 306] \", exit stat 3
D [08/May/2019:14:44:36 -0400] [Job 306] Cleaning up...
D [08/May/2019:14:44:36 -0400] [Job 306] PID 8157 (/usr/lib/cups/filter/foomatic-rip) stopped with status 3.
D [08/May/2019:14:44:36 -0400] [Job 306] Hint: Try setting the LogLevel to "debug" to find out more.
D [08/May/2019:14:44:36 -0400] [Job 306] PID 8158 (/usr/lib/cups/backend/lpd) exited with no errors.
D [08/May/2019:14:44:36 -0400] [Job 306] End of messages
D [08/May/2019:14:44:36 -0400] [Job 306] printer-state=3(idle)
D [08/May/2019:14:44:36 -0400] [Job 306] printer-state-message="Filter failed"
D [08/May/2019:14:44:36 -0400] [Job 306] printer-state-reasons=none
E [08/May/2019:14:45:17 -0400] [cups-deviced] PID 8192 (gutenprint52+usb) stopped with status 1!
E [08/May/2019:14:46:34 -0400] [Job 306] Job stopped due to filter errors; please consult the error_log file for details.
This printer and driver were used earlier today and worked fine, so this appears to be definitely related to the ghostscript update. Is there an easy way to back out of the update and confirm this? Who should this be reported to?

Dave

User avatar
AndyMH
Level 11
Level 11
Posts: 3966
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: Ghostscript update breaks printer driver

Post by AndyMH »

timeshift?
Homebrew i5-8400+GTX1080 Cinnamon 19.0, 3 x Thinkpad T430 Cinnamon 19.0, i7-3632 , i5-3320, i5-3210, Thinkpad T60 19.0 Mate

dhdurgee
Level 4
Level 4
Posts: 325
Joined: Thu Jul 02, 2009 7:56 pm

Re: Ghostscript update breaks printer driver

Post by dhdurgee »

AndyMH wrote:
Wed May 08, 2019 5:10 pm
timeshift?
Afraid I didn't have that installed, so not an option.

Dave

User avatar
AndyMH
Level 11
Level 11
Posts: 3966
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: Ghostscript update breaks printer driver

Post by AndyMH »

In that case update manager > history of updates and see if you can spot the update to ghostscript. It will tell you old and new version. Then I think it's into synaptic package manager to uninstall the new version and then re-install the old version. But... if there are wider dependencies, don't know how to find that.
Homebrew i5-8400+GTX1080 Cinnamon 19.0, 3 x Thinkpad T430 Cinnamon 19.0, i7-3632 , i5-3320, i5-3210, Thinkpad T60 19.0 Mate

dhdurgee
Level 4
Level 4
Posts: 325
Joined: Thu Jul 02, 2009 7:56 pm

Re: Ghostscript update breaks printer driver

Post by dhdurgee »

AndyMH wrote:
Thu May 09, 2019 5:11 am
In that case update manager > history of updates and see if you can spot the update to ghostscript. It will tell you old and new version. Then I think it's into synaptic package manager to uninstall the new version and then re-install the old version. But... if there are wider dependencies, don't know how to find that.
I know when it occurred and checking history shows it went from 9.26~dfsg+0-0ubuntu0.16.04.8 to 9.26~dfsg+0-0ubuntu0.16.04.9 yesterday before the problems surfaced. Opening synaptic only shows 16.04.9 and 9.18 as options, so I guess I would need to located 16.04.8 and make it available in my local repository.

Alternatively I guess I could try and contact whoever is supposed to be supporting ghostscript and report the problem so they can fix it.

Dave

User avatar
AndyMH
Level 11
Level 11
Posts: 3966
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: Ghostscript update breaks printer driver

Post by AndyMH »

Good luck, you're the second one posting on the ghostscript update 'breaking' their printer. It's in my update list, but I'll take a timeshift snapshot first!
Homebrew i5-8400+GTX1080 Cinnamon 19.0, 3 x Thinkpad T430 Cinnamon 19.0, i7-3632 , i5-3320, i5-3210, Thinkpad T60 19.0 Mate

dhdurgee
Level 4
Level 4
Posts: 325
Joined: Thu Jul 02, 2009 7:56 pm

Re: Ghostscript update breaks printer driver

Post by dhdurgee »

AndyMH wrote:
Thu May 09, 2019 12:02 pm
Good luck, you're the second one posting on the ghostscript update 'breaking' their printer. It's in my update list, but I'll take a timeshift snapshot first!
Problem corrected. They issued an update to the filters and the printer now works.

Dave

Post Reply

Return to “Software & Applications”