Page 1 of 5 123 ... LastLast
Results 1 to 10 of 47

Thread: CUPS is driving me crazy - Doesn't print particular PDFs

  1. #1

    Default CUPS is driving me crazy - Doesn't print particular PDFs

    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
    Code:
    stopped 
    "SpliX Cannot open job"
    as error when trying to print this PDF

    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
    I have a Samsung ML-1610 laser printer with CUPS 1.5.4 and SPliX 2.0.0
    OpenSUSE Leap 42.2 x64 KDE

  2. #2
    Join Date
    May 2012
    Location
    Finland
    Posts
    2,004

    Default Re: CUPS is driving me crazy - Doesn't print particular PDFs

    That isn't actually a CUPS error, it actually looks like a problem with Ghostscript.

    Have you tried upgrading your Ghostscript from the Printing repository? 13.1 ships with 9.07 whilst the Printing repo has 9.14.
    .: miuku #suse @ irc.freenode.net
    :: miuku@opensuse.org

    .: h​ttps://download.opensuse.org/repositories/home:/Miuku/

  3. #3
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: CUPS is driving me crazy - Doesn't print particular PDFs

    On 2014-09-09 12:16, robertot5 wrote:
    >
    > I'm so tired of CUPS and its moods !


    ....

    > I have
    > Code:
    > --------------------
    > stopped
    > -"SpliX Cannot open job"-
    > --------------------


    Splix is the Samsung printer language converter.

    http://splix.sourceforge.net/



    > here is the CUPS error log for today


    It is ghostscript which baulks, not cups, nor splix (they both need the
    output from gs, which is probably used here to convert pdf to ps with
    certain settings).


    > Code:
    > --------------------


    > 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 -_


    I'm unsure, but it seems that 'gs' gets the postscript file as a stream
    on stdin :-? Because in that case, we can not test to process it
    outside and see.

    > 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--


    That's the main error. gs bails out there, and cups has to abort.

    > --------------------



    You could try to convert the PDF to PS, with "pdf2ps", and then try to
    print that. You can use "gv", for instance, to see and print the ps
    file, or directly from the command line.

    (both okular and evince can display ps, but might manipulate it more on
    print order).


    --
    Cheers / Saludos,

    Carlos E. R.
    (from 13.1 x86_64 "Bottle" at Telcontar)

  4. #4

    Default Re: CUPS is driving me crazy - Doesn't print particular PDFs

    Added the Printing repo and updated CUPS, Ghostscript to latest version available but I still cannot print that particular PDF.

    I did a reboot, cleared the error_log of cups, restarted CUPS and tried again to print the PDF, this is the output of error_log

    Code:
    E [10/Sep/2014:22:20:23 +0300] Unable to bind socket for address [v1.::1]:631 - Cannot assign requested address.E [10/Sep/2014:22:20:23 +0300] Unable to bind socket for address 127.0.0.1:631 - Address already in use.
    E [10/Sep/2014:22:20:33 +0300] [Job 264] SpliX Cannot open job
    E [10/Sep/2014:22:20:33 +0300] [Job 264] SpliX Error while rendering the request. Check the previous message
    E [10/Sep/2014:22:20:33 +0300] [Job 264] Job stopped due to filter errors; please consult the error_log file for details.
    D [10/Sep/2014:22:20:33 +0300] [Job 264] The following messages were recorded from 22:20:33 to 22:20:33
    D [10/Sep/2014:22:20:33 +0300] [Job 264] Adding start banner page "none".
    D [10/Sep/2014:22:20:33 +0300] [Job 264] Queued on "samsungml1610" by "roberto".
    D [10/Sep/2014:22:20:33 +0300] [Job 264] Auto-typing file...
    D [10/Sep/2014:22:20:33 +0300] [Job 264] Request file type is application/postscript.
    D [10/Sep/2014:22:20:33 +0300] [Job 264] File of type application/postscript queued by "roberto".
    D [10/Sep/2014:22:20:33 +0300] [Job 264] Adding end banner page "none".
    D [10/Sep/2014:22:20:33 +0300] [Job 264] job-sheets=none,none
    D [10/Sep/2014:22:20:33 +0300] [Job 264] argv[0]="samsungml1610"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] argv[1]="264"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] argv[2]="roberto"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] argv[3]="Factura"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] argv[4]="1"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] argv[5]="noCollate finishings=3 media=A4 number-up=1 outputorder=normal portrait sides=one-sided job-uuid=urn:uuid:8d753acc-11b5-322f-4552-c1cbe7fb5fe8 job-originating-host-name=localhost time-at-creation=1410376833 time-at-processing=1410376833 Duplex=None PageSize=A4"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] argv[6]="/var/spool/cups/d00264-001"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[1]="CUPS_DATADIR=/usr/share/cups"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[2]="CUPS_DOCROOT=/usr/share/cups/webcontent"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[6]="CUPS_SERVERROOT=/etc/cups"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[7]="CUPS_STATEDIR=/run/cups"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[8]="HOME=/var/spool/cups/tmp"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[10]="SERVER_ADMIN=root@linux-jspa.site"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[11]="SOFTWARE=CUPS/1.5.4"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[12]="TMPDIR=/var/spool/cups/tmp"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[13]="USER=root"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[14]="CUPS_MAX_MESSAGE=2047"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[15]="CUPS_SERVER=/var/run/cups/cups.sock"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[16]="CUPS_ENCRYPTION=IfRequested"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[17]="IPP_PORT=631"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[18]="CHARSET=utf-8"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[19]="LANG=en_US.UTF-8"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[20]="PPD=/etc/cups/ppd/samsungml1610.ppd"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[21]="RIP_MAX_CACHE=128m"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[22]="CONTENT_TYPE=application/postscript"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[23]="DEVICE_URI=usb://Samsung/ML-1610"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[24]="PRINTER_INFO=Samsung ML-1610 with driver Samsung ML-1610, SpliX V. 2.0.0"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[25]="PRINTER_LOCATION="
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[26]="PRINTER=samsungml1610"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[27]="PRINTER_STATE_REASONS=none"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[28]="CUPS_FILETYPE=document"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[29]="FINAL_CONTENT_TYPE=printer/samsungml1610"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[30]="AUTH_I****"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] Started filter /usr/lib/cups/filter/pstops (PID 3784)
    D [10/Sep/2014:22:20:33 +0300] [Job 264] Started filter /usr/lib/cups/filter/gstoraster (PID 3785)
    D [10/Sep/2014:22:20:33 +0300] [Job 264] Started filter /usr/lib/cups/filter/rastertoqpdl (PID 3786)
    D [10/Sep/2014:22:20:33 +0300] [Job 264] Started backend /usr/lib/cups/backend/usb (PID 3787)
    D [10/Sep/2014:22:20:33 +0300] [Job 264] STATE: +connecting-to-device
    D [10/Sep/2014:22:20:33 +0300] [Job 264] Page = 595x842; 11,15 to 584,827
    D [10/Sep/2014:22:20:33 +0300] [Job 264] slow_collate=0, slow_duplex=0, slow_order=0
    D [10/Sep/2014:22:20:33 +0300] [Job 264] Before copy_comments - %!PS-Adobe-3.0
    D [10/Sep/2014:22:20:33 +0300] [Job 264] %!PS-Adobe-3.0
    D [10/Sep/2014:22:20:33 +0300] [Job 264] %Produced by poppler pdftops version: 0.24.3 (http://poppler.freedesktop.org)
    D [10/Sep/2014:22:20:33 +0300] [Job 264] %%Creator: eis.emag.local
    D [10/Sep/2014:22:20:33 +0300] [Job 264] %%Title: factura_711409382 (4).pdf
    D [10/Sep/2014:22:20:33 +0300] [Job 264] %%LanguageLevel: 2
    D [10/Sep/2014:22:20:33 +0300] [Job 264] %%DocumentSuppliedResources: (atend)
    D [10/Sep/2014:22:20:33 +0300] [Job 264] %%DocumentMedia: plain 595 842 0 () ()
    D [10/Sep/2014:22:20:33 +0300] [Job 264] %%BoundingBox: 0 0 595 842
    D [10/Sep/2014:22:20:33 +0300] [Job 264] %%Pages: 1
    D [10/Sep/2014:22:20:33 +0300] [Job 264] %%EndComments
    D [10/Sep/2014:22:20:33 +0300] [Job 264] Before copy_prolog - %%BeginDefaults
    D [10/Sep/2014:22:20:33 +0300] [Job 264] Before copy_setup - %%BeginSetup
    D [10/Sep/2014:22:20:33 +0300] [Job 264] Printer using device file "/dev/usb/lp0"...
    D [10/Sep/2014:22:20:33 +0300] [Job 264] STATE: -connecting-to-device
    D [10/Sep/2014:22:20:33 +0300] [Job 264] backendRunLoop(print_fd=0, device_fd=5, snmp_fd=-1, addr=(nil), use_bc=1, side_cb=0x7fa836971d70)
    D [10/Sep/2014:22:20:33 +0300] [Job 264] SpliX SpliX filter V. 2.0.0 by Aurélien Croc (AP²C)
    D [10/Sep/2014:22:20:33 +0300] [Job 264] SpliX More information at: http://splix.ap2c.org
    D [10/Sep/2014:22:20:33 +0300] [Job 264] SpliX Compiled with: Threads=enabled (#=2, Cache=30), JBIG=disabled, BlackOptim=enabled
    D [10/Sep/2014:22:20:33 +0300] [Job 264] SpliX Monochrome printer Samsung ML-1610 with QPDL v. 1
    D [10/Sep/2014:22:20:33 +0300] [Job 264] SpliX Cache controller thread loaded and is waiting for a job
    D [10/Sep/2014:22:20:33 +0300] [Job 264] Before page loop - %%Page: 1 1
    D [10/Sep/2014:22:20:33 +0300] [Job 264] Copying page 1...
    D [10/Sep/2014:22:20:33 +0300] [Job 264] pagew = 573.5, pagel = 812.0
    D [10/Sep/2014:22:20:33 +0300] [Job 264] bboxx = 0, bboxy = 0, bboxw = 595, bboxl = 842
    D [10/Sep/2014:22:20:33 +0300] [Job 264] PageLeft = 10.8, PageRight = 584.2
    D [10/Sep/2014:22:20:33 +0300] [Job 264] PageTop = 827.0, PageBottom = 15.0
    D [10/Sep/2014:22:20:33 +0300] [Job 264] PageWidth = 595.0, PageLength = 842.0
    D [10/Sep/2014:22:20:33 +0300] [Job 264] Wrote 1 pages...
    D [10/Sep/2014:22:20:33 +0300] [Job 264] Color Manager: Calibration Mode/Off
    D [10/Sep/2014:22:20:33 +0300] [Job 264] Calling FindDeviceById(cups-samsungml1610)
    D [10/Sep/2014:22:20:33 +0300] [Job 264] Failed to send: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
    D [10/Sep/2014:22:20:33 +0300] [Job 264] Failed to get find device cups-samsungml1610
    D [10/Sep/2014:22:20:33 +0300] [Job 264] Calling FindDeviceById(cups-samsungml1610)
    D [10/Sep/2014:22:20:33 +0300] [Job 264] Failed to send: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
    D [10/Sep/2014:22:20:33 +0300] [Job 264] Failed to get device cups-samsungml1610
    D [10/Sep/2014:22:20:33 +0300] [Job 264] Color Manager: no profiles specified in PPD
    D [10/Sep/2014:22:20:33 +0300] [Job 264] Set job-printer-state-message to "Color Manager: no profiles specified in PPD", current level=INFO
    D [10/Sep/2014:22:20:33 +0300] [Job 264] Color Manager: ICC Profile: None
    D [10/Sep/2014:22:20:33 +0300] [Job 264] Ghostscript command line: /usr/bin/gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -dNOMEDIAATTRS -sDEVICE=cups -sstdout=%stderr -sOutputFile=%stdout -r600x600 -dMediaPosition=1 -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842 -dcupsBitsPerColor=1 -dcupsColorOrder=0 -dcupsColorSpace=3 -dcupsCompression=17 -scupsPageSizeName=A4 -I/usr/share/cups/fonts -c '<</.HWMargins[10.750000 15.000000 10.750000 15.000000] /Margins[0 0]>>setpagedevice' -f -_
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[1]="CUPS_DATADIR=/usr/share/cups"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[2]="CUPS_DOCROOT=/usr/share/cups/webcontent"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[6]="CUPS_SERVERROOT=/etc/cups"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[7]="CUPS_STATEDIR=/run/cups"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[8]="HOME=/var/spool/cups/tmp"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[10]="SERVER_ADMIN=root@linux-jspa.site"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[11]="SOFTWARE=CUPS/1.5.4"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[12]="TMPDIR=/var/spool/cups/tmp"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[13]="USER=root"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[14]="CUPS_MAX_MESSAGE=2047"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[15]="CUPS_SERVER=/var/run/cups/cups.sock"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[16]="CUPS_ENCRYPTION=IfRequested"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[17]="IPP_PORT=631"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[18]="CHARSET=utf-8"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[19]="LANG=en_US.UTF-8"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[20]="PPD=/etc/cups/ppd/samsungml1610.ppd"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[21]="RIP_MAX_CACHE=128m"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[22]="CONTENT_TYPE=application/postscript"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[23]="DEVICE_URI=usb://Samsung/ML-1610"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[24]="PRINTER_INFO=Samsung ML-1610 with driver Samsung ML-1610, SpliX V. 2.0.0"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[25]="PRINTER_LOCATION="
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[26]="PRINTER=samsungml1610"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[27]="PRINTER_STATE_REASONS=none"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[28]="CUPS_FILETYPE=document"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[29]="FINAL_CONTENT_TYPE=printer/samsungml1610"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[30]="AUTH_INFO_REQUIRED=none"
    D [10/Sep/2014:22:20:33 +0300] [Job 264] Start rendering...
    D [10/Sep/2014:22:20:33 +0300] [Job 264] Set job-printer-state-message to "Start rendering...", current level=INFO
    D [10/Sep/2014:22:20:33 +0300] [Job 264] Processing page 1...
    D [10/Sep/2014:22:20:33 +0300] [Job 264] Set job-printer-state-message to "Processing page 1...", current level=INFO
    D [10/Sep/2014:22:20:33 +0300] [Job 264] Error: /rangecheck in --xyshow--
    D [10/Sep/2014:22:20:33 +0300] [Job 264] Operand stack:
    D [10/Sep/2014:22:20:33 +0300] [Job 264] 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 [10/Sep/2014:22:20:33 +0300] [Job 264] Execution stack:
    D [10/Sep/2014:22:20:33 +0300] [Job 264] %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1955   1   3   %oparray_pop   1954   1   3   %oparray_pop   1938   1   3   %oparray_pop   1820   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--
    D [10/Sep/2014:22:20:33 +0300] [Job 264] Dictionary stack:
    D [10/Sep/2014:22:20:33 +0300] [Job 264] --dict:1192/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 [10/Sep/2014:22:20:33 +0300] [Job 264] Current allocation mode is local
    D [10/Sep/2014:22:20:33 +0300] [Job 264] Last OS error: No such file or directory
    D [10/Sep/2014:22:20:33 +0300] [Job 264] GPL Ghostscript RELEASE CANDIDATE 1 9.15: Unrecoverable error, exit code 1
    D [10/Sep/2014:22:20:33 +0300] [Job 264] Rendering completed
    D [10/Sep/2014:22:20:33 +0300] [Job 264] Set job-printer-state-message to "Rendering completed", current level=INFO
    D [10/Sep/2014:22:20:33 +0300] [Job 264] Set job-printer-state-message to "SpliX Cannot open job", current level=ERROR
    D [10/Sep/2014:22:20:33 +0300] [Job 264] SpliX Cache controller unloaded. See ya
    D [10/Sep/2014:22:20:33 +0300] [Job 264] End of messages
    D [10/Sep/2014:22:20:33 +0300] [Job 264] printer-state=3(idle)
    D [10/Sep/2014:22:20:33 +0300] [Job 264] printer-state-message="SpliX Error while rendering the request. Check the previous message" D [10/Sep/2014:22:20:33 +0300] [Job 264] printer-state-reasons=none
    I will also try the conversion way and see if that work.
    OpenSUSE Leap 42.2 x64 KDE

  5. #5
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: CUPS is driving me crazy - Doesn't print particular PDFs

    On 2014-09-10 21:26, robertot5 wrote:
    >
    > Added the Printing repo and updated CUPS, Ghostscript to latest version
    > available but I still cannot print that particular PDF.
    >
    > I did a reboot, cleared the error_log of cups, restarted CUPS and tried
    > again to print the PDF, this is the output of error_log
    >
    >
    > Code:
    > --------------------


    > D [10/Sep/2014:22:20:33 +0300] [Job 264] %%Title: factura_711409382 (4).pdf


    > D [10/Sep/2014:22:20:33 +0300] [Job 264] Printer using device file "/dev/usb/lp0"...
    > D [10/Sep/2014:22:20:33 +0300] [Job 264] STATE: -connecting-to-device


    > D [10/Sep/2014:22:20:33 +0300] [Job 264] Wrote 1 pages...
    > D [10/Sep/2014:22:20:33 +0300] [Job 264] Color Manager: Calibration Mode/Off
    > D [10/Sep/2014:22:20:33 +0300] [Job 264] Calling FindDeviceById(cups-samsungml1610)
    > D [10/Sep/2014:22:20:33 +0300] [Job 264] Failed to send: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
    > D [10/Sep/2014:22:20:33 +0300] [Job 264] Failed to get find device cups-samsungml1610
    > D [10/Sep/2014:22:20:33 +0300] [Job 264] Calling FindDeviceById(cups-samsungml1610)
    > D [10/Sep/2014:22:20:33 +0300] [Job 264] Failed to send: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
    > D [10/Sep/2014:22:20:33 +0300] [Job 264] Failed to get device cups-samsungml1610
    > D [10/Sep/2014:22:20:33 +0300] [Job 264] Color Manager: no profiles specified in PPD
    > D [10/Sep/2014:22:20:33 +0300] [Job 264] Set job-printer-state-message to "Color Manager: no profiles specified in PPD", current level=INFO
    > D [10/Sep/2014:22:20:33 +0300] [Job 264] Color Manager: ICC Profile: None


    Well, that's a different error than before (if it is an error?)

    > D [10/Sep/2014:22:20:33 +0300] [Job 264] Ghostscript command line: /usr/bin/gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -dNOMEDIAATTRS -sDEVICE=cups -sstdout=%stderr -sOutputFile=%stdout -r600x600 -dMediaPosition=1 -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842 -dcupsBitsPerColor=1 -dcupsColorOrder=0 -dcupsColorSpace=3 -dcupsCompression=17 -scupsPageSizeName=A4 -I/usr/share/cups/fonts -c '<</.HWMargins[10.750000 15.000000 10.750000 15.000000] /Margins[0 0]>>setpagedevice' -f -_


    But apparently it is not fatal, because it continues :-?


    > D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[29]="FINAL_CONTENT_TYPE=printer/samsungml1610"
    > D [10/Sep/2014:22:20:33 +0300] [Job 264] envp[30]="AUTH_INFO_REQUIRED=none"
    > D [10/Sep/2014:22:20:33 +0300] [Job 264] Start rendering...
    > D [10/Sep/2014:22:20:33 +0300] [Job 264] Set job-printer-state-message to "Start rendering...", current level=INFO
    > D [10/Sep/2014:22:20:33 +0300] [Job 264] Processing page 1...
    > D [10/Sep/2014:22:20:33 +0300] [Job 264] Set job-printer-state-message to "Processing page 1...", current level=INFO
    > D [10/Sep/2014:22:20:33 +0300] [Job 264] Error: /rangecheck in --xyshow--


    And this is the same conversion error as you got yesterday, and this one
    is indeed fatal.


    > --------------------
    >
    >
    > I will also try the conversion way and see if that work.


    Please do. If that one also fails, you have to report the issue in Bugzilla.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 13.1 x86_64 "Bottle" at Telcontar)

  6. #6

    Default Re: CUPS is driving me crazy - Doesn't print particular PDFs

    I tried printing the same PDF file from another networked machine running Lubuntu, worked fine. The printer is shared via Samba.
    OpenSUSE Leap 42.2 x64 KDE

  7. #7

    Default Re: CUPS is driving me crazy - Doesn't print particular PDFs

    Converted the PDF to PS with "pdf2ps" utility and printed just fine, though the layout is not exactly right.
    These PDFs are actually invoices, all look the same and I print them everyday just fine.

    So as far as I understand, this Ghostscript converts the PDF to some other format and send it to CUPS, and CUPS send it to the printer or...? And along this process, Ghostscript fails ?
    OpenSUSE Leap 42.2 x64 KDE

  8. #8
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: CUPS is driving me crazy - Doesn't print particular PDFs

    On 2014-09-10 22:26, robertot5 wrote:
    >
    > Converted the PDF to PS with "pdf2ps" utility and printed just fine,
    > though the layout is not exactly right.
    > These PDFs are actually invoices, all look the same and I print them
    > everyday just fine.
    >
    > So as far as I understand, this Ghostscript converts the PDF to some
    > other format and send it to CUPS, and CUPS send it to the printer or...?
    > And along this process, Ghostscript fails ?


    Yes, cups uses ghostscript to convert your PDF to postscript, and then
    it processes it with the printer drivers to convert that to the printer
    specific language.

    The traditional Linux printing toolchain is for applications to produce
    a postscript file, and this one is printed (by sending it unmodified to
    the printer, as is). Thus originally, only printers that understood
    postscript directly could work. Then they added drivers to convert
    postscript to the printer language if it was different.

    At least that is what I understood.

    Recently, I think the idea is to instead send PDF to the printer
    toolchain - but as you see, it still converts to postscript internally.
    Or it is application dependent: the application you use for displaying
    and printing the invoices could send itself postscript to cups, instead
    of sending the pdf. What are you using?


    As you can see in your log, 'gs' is called with a lot of options. When
    you call "ps2pdf" yourself (which is a wrapper script to 'gs'), the
    options are different. So the visual aspect can be different, but it
    does not crash...

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 13.1 x86_64 "Bottle" at Telcontar)

  9. #9

    Default Re: CUPS is driving me crazy - Doesn't print particular PDFs

    Quote Originally Posted by robin_listas View Post
    On 2014-09-10 22:26, robertot5 wrote:
    >
    > Converted the PDF to PS with "pdf2ps" utility and printed just fine,
    > though the layout is not exactly right.
    > These PDFs are actually invoices, all look the same and I print them
    > everyday just fine.
    >
    > So as far as I understand, this Ghostscript converts the PDF to some
    > other format and send it to CUPS, and CUPS send it to the printer or...?
    > And along this process, Ghostscript fails ?


    Yes, cups uses ghostscript to convert your PDF to postscript, and then
    it processes it with the printer drivers to convert that to the printer
    specific language.

    The traditional Linux printing toolchain is for applications to produce
    a postscript file, and this one is printed (by sending it unmodified to
    the printer, as is). Thus originally, only printers that understood
    postscript directly could work. Then they added drivers to convert
    postscript to the printer language if it was different.

    At least that is what I understood.

    Recently, I think the idea is to instead send PDF to the printer
    toolchain - but as you see, it still converts to postscript internally.
    Or it is application dependent: the application you use for displaying
    and printing the invoices could send itself postscript to cups, instead
    of sending the pdf. What are you using?


    As you can see in your log, 'gs' is called with a lot of options. When
    you call "ps2pdf" yourself (which is a wrapper script to 'gs'), the
    options are different. So the visual aspect can be different, but it
    does not crash...

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 13.1 x86_64 "Bottle" at Telcontar)
    I'm using Okular with PDFs.
    The printer is a Samsung ML-1610

    The weird thing is, that I print several invoices, all with Okular and only 1 in a week or so causes this to happen.
    OpenSUSE Leap 42.2 x64 KDE

  10. #10
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: CUPS is driving me crazy - Doesn't print particular PDFs

    On 2014-09-10 23:16, robertot5 wrote:

    > I'm using Okular with PDFs.
    > The printer is a Samsung ML-1610
    >
    > The weird thing is, that I print several invoices, all with Okular and
    > only 1 in a week or so causes this to happen.


    Because you hit one invoice that happens to have some "thing" that
    triggers the problem. Just a guess. PDF are complex things...

    Ok, I don't use okular that often, but try this. On the print dialog,
    there is a "name" dropdown, where you can choose the printer name. You
    should have an entry to print to postscript file: use it.

    Then you can simply print that file from the command line (lpr file.ps).

    Maybe it works... as a roundabout for those pdfs that fail.


    The PDFs are, I assume, sensitive, being invoices, otherwise I'd tell
    you to open a Bugzilla on the issue. And attach the problematic invoice
    so that they can study it... Wait, it has already been reported. Just
    google for "Error: /rangecheck in --xyshow--" (_with_ the quotes).

    On a quick look, one old report blames "libcairo", and says 1.5.4 solves
    it. But openSUSE 13.1 has libcairo 2.

    I suggest you google it, instead of me ;-)

    Have a look at this one, for example:
    http://ghostscript.com/pipermail/gs-...il/009435.html

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 13.1 x86_64 "Bottle" at Telcontar)

Page 1 of 5 123 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •