Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

2.0.0-rc2 does not print with CMS available

Help
kccricket
2008-09-05
2013-05-28
  • kccricket
    kccricket
    2008-09-05

    I have installed the 2.0.0-rc2 amd64 deb available at OpenPrinting for my CLP-300.  I deleted the printer in Cups and added it again specifically using the PPD provided by the deb.  I also installed the Samsung CMS files at /opt/splix/ppds/Samsung/cms/.

    My first test print works successfully, but the colors seem oversaturated.  I check the Cups error log and noticed the following for that job:
    E [04/Sep/2008:22:39:47 -0400] [Job 16] SpliX Cannot open CMS file /opt/splix/ppds/samsung/cms/CLP-300cms (2)
    E [04/Sep/2008:22:39:47 -0400] [Job 16] SpliX Cannot open CMS file /opt/splix/ppds/samsung/cms/CLP-300cms2 (2)
    W [04/Sep/2008:22:39:47 -0400] [Job 16] SpliX CMS data are missing. Color correction aborted
    I [04/Sep/2008:22:39:49 -0400] [Job 16] Completed successfully.

    The obvious problem here is that the deb package installed the PPDs in [..]/ppds/Samsung, but Splix is looking for the CMS files in [..]/ppds/samsung.  To fix it, I made a symlink from Samsung to samsung in the ppds directory.

    Now, attempting to print the same exact file the same exact way fails with this error:
    E [04/Sep/2008:22:58:44 -0400] [Job 18] SpliX End of PostScript header not found
    E [04/Sep/2008:22:58:45 -0400] [Job 18] SpliX Cannot open job
    E [04/Sep/2008:22:58:45 -0400] [Job 18] SpliX Error while rendering the request. Check the previous message
    E [04/Sep/2008:22:58:45 -0400] PID 4025 (/opt/splix/cups/lib/filter/pstoqpdl) stopped with status 4!

    The same error with debug logging enabled:
    D [04/Sep/2008:23:01:34 -0400] [Job 19] GPL Ghostscript 8.61: DEBUG2: cups_get_matrix(0x685378, 0x7fff2de50f60)
    D [04/Sep/2008:23:01:34 -0400] [Job 19] cups->header.Duplex = 0
    D [04/Sep/2008:23:01:34 -0400] [Job 19] cups->page = 1
    D [04/Sep/2008:23:01:34 -0400] [Job 19] cupsPPD = 0x8de8b0
    D [04/Sep/2008:23:01:34 -0400] [Job 19] cupsPPD->flip_duplex = 0
    D [04/Sep/2008:23:01:34 -0400] [Job 19] width = 4921, height = 6350
    D [04/Sep/2008:23:01:34 -0400] [Job 19] PageSize = [ 612 792 ], HWResolution = [ 600 600 ]
    D [04/Sep/2008:23:01:34 -0400] [Job 19] HWMargins = [ 10.750 15.000 10.750 15.000 ]
    D [04/Sep/2008:23:01:34 -0400] [Job 19] matrix = [ 8.333 0.000 0.000 -8.333 -89.583 6475.000 ]
    D [04/Sep/2008:23:01:34 -0400] [Job 19] Finishing.
    D [04/Sep/2008:23:01:34 -0400] [Job 19] -dict-
    D [04/Sep/2008:23:01:34 -0400] [Job 19] -dict-
    D [04/Sep/2008:23:01:34 -0400] [Job 19] -dict-
    D [04/Sep/2008:23:01:34 -0400] [Job 19] -dict-
    D [04/Sep/2008:23:01:34 -0400] [Job 19] -mark-
    D [04/Sep/2008:23:01:34 -0400] [Job 19] -dict-
    D [04/Sep/2008:23:01:34 -0400] [Job 19] -mark-
    D [04/Sep/2008:23:01:34 -0400] [Job 19] Error: /undefinedresource in findresource
    D [04/Sep/2008:23:01:34 -0400] [Job 19] Operand stack:
    D [04/Sep/2008:23:01:34 -0400] [Job 19] Current   ColorRendering   Current
    D [04/Sep/2008:23:01:34 -0400] [Job 19] Execution stack:
    D [04/Sep/2008:23:01:34 -0400] [Job 19] %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1905   1   3   %oparray_pop   1904   1   3   %oparray_pop   1888   1   3   %oparray_pop   1771   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   1856   2   3   %oparray_pop   findresource   %errorexec_pop   --nostringval--   --nostringval--
    D [04/Sep/2008:23:01:34 -0400] [Job 19] Dictionary stack:
    D [04/Sep/2008:23:01:34 -0400] [Job 19] --dict:1149/1684(ro)(G)--   --dict:0/20(G)--   --dict:98/200(L)--   --dict:16/18(ro)(G)--
    D [04/Sep/2008:23:01:34 -0400] [Job 19] Current allocation mode is local
    D [04/Sep/2008:23:01:34 -0400] [Job 19] Last OS error: 2
    D [04/Sep/2008:23:01:34 -0400] [Job 19] GPL Ghostscript 8.61: Unrecoverable error, exit code 1
    E [04/Sep/2008:23:01:34 -0400] [Job 19] SpliX Cannot open job
    E [04/Sep/2008:23:01:34 -0400] [Job 19] SpliX Error while rendering the request. Check the previous message
    D [04/Sep/2008:23:01:34 -0400] Discarding unused printer-state-changed event...
    D [04/Sep/2008:23:01:34 -0400] [Job 19] SpliX Cache controller unloaded. See ya
    E [04/Sep/2008:23:01:34 -0400] PID 4085 (/opt/splix/cups/lib/filter/pstoqpdl) stopped with status 4!
    D [04/Sep/2008:23:01:34 -0400] PID 4086 (/usr/lib/cups/backend/usb) exited with no errors.
    D [04/Sep/2008:23:01:34 -0400] [Job 19] File 0 is complete.
    E [04/Sep/2008:23:01:34 -0400] [Job 19] Job stopped due to filter errors.
    D [04/Sep/2008:23:01:34 -0400] Discarding unused printer-state-changed event...
    D [04/Sep/2008:23:01:34 -0400] Discarding unused job-stopped event...
    D [04/Sep/2008:23:01:35 -0400] [Job 19] Unloading...

    Removing the lowercase samsung symlink allows it to print again, but it can't find the CMS files.  Compiling from SVN r230 produces the same results.  Is this likely something on my end or a bug in Splix?

     
    • Aurélien Croc
      Aurélien Croc
      2009-04-05

      Is it corrected with the 2.0.0 release?
      Regards,

      Aurélien

       
    • NA
      NA
      2009-08-31

      This sounds identical to my problem with the CLP-610. Problem parsing the cms files, perhaps?