I'm so tired of CUPS and its moods !
I have this well known issue with CUPS just not wanting to print particular files be it PDFs from Okular or Libre Office. Today I tried printing two invoices, both A4 PDFs, both opened up in Okular and guess what, I could print one of them but not the other, tried deleting the jobs and again and again but to no avail, and just for fun, I can print the first one again :( just fine.
I went into the web interface and looked at some error logs:
I have
as error when trying to print this PDF
Also tried restarting cups.service, to no avail
here is the CUPS error log for today
I have a Samsung ML-1610 laser printer with CUPS 1.5.4 and SPliX 2.0.0
I have this well known issue with CUPS just not wanting to print particular files be it PDFs from Okular or Libre Office. Today I tried printing two invoices, both A4 PDFs, both opened up in Okular and guess what, I could print one of them but not the other, tried deleting the jobs and again and again but to no avail, and just for fun, I can print the first one again :( just fine.
I went into the web interface and looked at some error logs:
I have
Code:
stopped
"SpliX Cannot open job"
Also tried restarting cups.service, to no avail
here is the CUPS error log for today
Code:
D [09/Sep/2014:12:58:15 +0300] [Job 255] backendRunLoop(print_fd=0, device_fd=5, snmp_fd=-1, addr=(nil), use_bc=1, side_cb=0x7f1d42be0d70)D [09/Sep/2014:12:58:15 +0300] [Job 255] SpliX SpliX filter V. 2.0.0 by Aurélien Croc (AP²C)
D [09/Sep/2014:12:58:15 +0300] [Job 255] SpliX More information at: http://splix.ap2c.org
D [09/Sep/2014:12:58:15 +0300] [Job 255] SpliX Compiled with: Threads=enabled (#=2, Cache=30), JBIG=disabled, BlackOptim=enabled
D [09/Sep/2014:12:58:15 +0300] [Job 255] SpliX Monochrome printer Samsung ML-1610 with QPDL v. 1
D [09/Sep/2014:12:58:15 +0300] [Job 255] SpliX Cache controller thread loaded and is waiting for a job
D [09/Sep/2014:12:58:15 +0300] [Job 255] Before page loop - %%Page: 1 1
D [09/Sep/2014:12:58:15 +0300] [Job 255] Copying page 1...
D [09/Sep/2014:12:58:15 +0300] [Job 255] pagew = 590.5, pagel = 762.0
D [09/Sep/2014:12:58:15 +0300] [Job 255] bboxx = 0, bboxy = 0, bboxw = 612, bboxl = 792
D [09/Sep/2014:12:58:15 +0300] [Job 255] PageLeft = 10.8, PageRight = 601.2
D [09/Sep/2014:12:58:15 +0300] [Job 255] PageTop = 777.0, PageBottom = 15.0
D [09/Sep/2014:12:58:15 +0300] [Job 255] PageWidth = 612.0, PageLength = 792.0
D [09/Sep/2014:12:58:15 +0300] [Job 255] Wrote 1 pages...
D [09/Sep/2014:12:58:15 +0300] [Job 255] PPD uses qualifier 'Gray.NORMAL.600dpi'
D [09/Sep/2014:12:58:15 +0300] [Job 255] Calling FindDeviceById(samsungml1610)
D [09/Sep/2014:12:58:15 +0300] [Job 255] Failed to send: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
D [09/Sep/2014:12:58:15 +0300] [Job 255] Failed to get profile filename!
D [09/Sep/2014:12:58:15 +0300] [Job 255] no profiles specified in PPD
D [09/Sep/2014:12:58:15 +0300] [Job 255] Set job-printer-state-message to "no profiles specified in PPD", current level=INFO
D [09/Sep/2014:12:58:15 +0300] [Job 255] Ghostscript command line: /usr/bin/gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -dNOMEDIAATTRS -sDEVICE=cups -sstdout=%stderr -sOutputFile=%stdout -r600x600 -dMediaPosition=1 -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -dcupsBitsPerColor=1 -dcupsColorOrder=0 -dcupsColorSpace=3 -dcupsCompression=17 -scupsPageSizeName=Letter -I/usr/share/cups/fonts -c -f -_
D [09/Sep/2014:12:58:15 +0300] [Job 255] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [09/Sep/2014:12:58:15 +0300] [Job 255] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [09/Sep/2014:12:58:15 +0300] [Job 255] envp[2]="CUPS_DOCROOT=/usr/share/cups/webcontent"
D [09/Sep/2014:12:58:15 +0300] [Job 255] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [09/Sep/2014:12:58:15 +0300] [Job 255] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [09/Sep/2014:12:58:15 +0300] [Job 255] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [09/Sep/2014:12:58:15 +0300] [Job 255] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [09/Sep/2014:12:58:15 +0300] [Job 255] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [09/Sep/2014:12:58:15 +0300] [Job 255] envp[8]="HOME=/var/spool/cups/tmp"
D [09/Sep/2014:12:58:15 +0300] [Job 255] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [09/Sep/2014:12:58:15 +0300] [Job 255] envp[10]="SERVER_ADMIN=root@linux-jspa.site"
D [09/Sep/2014:12:58:15 +0300] [Job 255] envp[11]="SOFTWARE=CUPS/1.5.4"
D [09/Sep/2014:12:58:15 +0300] [Job 255] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [09/Sep/2014:12:58:15 +0300] [Job 255] envp[13]="USER=root"
D [09/Sep/2014:12:58:15 +0300] [Job 255] envp[14]="CUPS_MAX_MESSAGE=2047"
D [09/Sep/2014:12:58:15 +0300] [Job 255] envp[15]="CUPS_SERVER=/var/run/cups/cups.sock"
D [09/Sep/2014:12:58:15 +0300] [Job 255] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [09/Sep/2014:12:58:15 +0300] [Job 255] envp[17]="IPP_PORT=631"
D [09/Sep/2014:12:58:15 +0300] [Job 255] envp[18]="CHARSET=utf-8"
D [09/Sep/2014:12:58:15 +0300] [Job 255] envp[19]="LANG=en_US.UTF-8"
D [09/Sep/2014:12:58:15 +0300] [Job 255] envp[20]="PPD=/etc/cups/ppd/samsungml1610.ppd"
D [09/Sep/2014:12:58:15 +0300] [Job 255] envp[21]="RIP_MAX_CACHE=128m"
D [09/Sep/2014:12:58:15 +0300] [Job 255] envp[22]="CONTENT_TYPE=application/postscript"
D [09/Sep/2014:12:58:15 +0300] [Job 255] envp[23]="DEVICE_URI=usb://Samsung/ML-1610"
D [09/Sep/2014:12:58:15 +0300] [Job 255] envp[24]="PRINTER_INFO=Samsung ML-1610 with driver Samsung ML-1610, SpliX V. 2.0.0"
D [09/Sep/2014:12:58:15 +0300] [Job 255] envp[25]="PRINTER_LOCATION="
D [09/Sep/2014:12:58:15 +0300] [Job 255] envp[26]="PRINTER=samsungml1610"
D [09/Sep/2014:12:58:15 +0300] [Job 255] envp[27]="PRINTER_STATE_REASONS=none"
D [09/Sep/2014:12:58:15 +0300] [Job 255] envp[28]="CUPS_FILETYPE=document"
D [09/Sep/2014:12:58:15 +0300] [Job 255] envp[29]="FINAL_CONTENT_TYPE=printer/samsungml1610"
D [09/Sep/2014:12:58:15 +0300] [Job 255] envp[30]="AUTH_INFO_REQUIRED=none"
D [09/Sep/2014:12:58:15 +0300] [Job 255] Start rendering...
D [09/Sep/2014:12:58:15 +0300] [Job 255] Set job-printer-state-message to "Start rendering...", current level=INFO
D [09/Sep/2014:12:58:15 +0300] [Job 255] Processing page 1...
D [09/Sep/2014:12:58:15 +0300] [Job 255] Set job-printer-state-message to "Processing page 1...", current level=INFO
D [09/Sep/2014:12:58:15 +0300] [Job 255] Error: /rangecheck in --xyshow--
D [09/Sep/2014:12:58:15 +0300] [Job 255] Operand stack:
D [09/Sep/2014:12:58:15 +0300] [Job 255] 313.111 755.695 (\000N\000r\000.\000 \000f\000a\000c\000t\000u\000r\000a\000:) --nostringval-- (\000N\000r\000.\000 \000f\000a\000c\000t\000u\000r\000a\000:) --nostringval--
D [09/Sep/2014:12:58:15 +0300] [Job 255] Execution stack:
D [09/Sep/2014:12:58:15 +0300] [Job 255] %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1904 1 3 %oparray_pop 1903 1 3 %oparray_pop 1887 1 3 %oparray_pop 1771 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval--
D [09/Sep/2014:12:58:15 +0300] [Job 255] Dictionary stack:
D [09/Sep/2014:12:58:15 +0300] [Job 255] --dict:1176/1684(ro)(G)-- --dict:0/20(G)-- --dict:84/200(L)-- --dict:68/75(L)-- --dict:19/25(L)-- --dict:9/15(L)-- --dict:8/15(L)--
D [09/Sep/2014:12:58:15 +0300] [Job 255] Current allocation mode is local
D [09/Sep/2014:12:58:15 +0300] [Job 255] Last OS error: No such file or directory
D [09/Sep/2014:12:58:15 +0300] [Job 255] GPL Ghostscript 9.07: Unrecoverable error, exit code 1
D [09/Sep/2014:12:58:15 +0300] [Job 255] Rendering completed
D [09/Sep/2014:12:58:15 +0300] [Job 255] Set job-printer-state-message to "Rendering completed", current level=INFO
D [09/Sep/2014:12:58:15 +0300] [Job 255] Set job-printer-state-message to "SpliX Cannot open job", current level=ERROR
D [09/Sep/2014:12:58:15 +0300] [Job 255] SpliX Cache controller unloaded. See ya
D [09/Sep/2014:12:58:15 +0300] [Job 255] End of messages
D [09/Sep/2014:12:58:15 +0300] [Job 255] printer-state=3(idle)
D [09/Sep/2014:12:58:15 +0300] [Job 255] printer-state-message="SpliX Error while rendering the request. Check the previous message" D [09/Sep/2014:12:58:15 +0300] [Job 255] printer-state-reasons=none