[gs-bugs] [Bug 689986] New: when used in cups, ijs driver produces no output

bugs.ghostscript.com-bugzilla-daemon at ghostscript.com bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
Thu Jul 31 17:06:45 PDT 2008


http://bugs.ghostscript.com/show_bug.cgi?id=689986

           Summary: when used in cups, ijs driver produces no output
           Product: Ghostscript
           Version: 8.61
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P4
         Component: CUPS driver
        AssignedTo: mike at easysw.com
        ReportedBy: michal at physics.ubc.ca
         QAContact: gs-bugs at ghostscript.com


Not sure if this is a ghostscript problem or a cups problem.  

Postscript plots produced with recent gnuplot disappear into a black hole when
sent to my printer.  I'll attach two postscript files of the same plot, one from
an old gnuplot, one from a recent gnuplot (4.2.3).  Both render fine in gs on
the screen.

When printed through cups to an HP laserjet 1012 using hpijs (from hplip 2.7.10
or 2.8.5), one of them prints fine, the other disappears.

The really weird thing though is that if I take the gs command line that cups is
using and run it from the command line, it appears to give usable output from
either file (if its output is dumped directed to the printer with cat, it works
for either file).

The cups log from the failure looks like this:
D [31/Jul/2008:16:51:32 -0700] [Job 836] Closing renderer
D [31/Jul/2008:16:51:32 -0700] [Job 836] Starting process 23193:
"foomatic-gswrapper -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs
-sIjsServer=hpijs -sDev..."
D [31/Jul/2008:16:51:32 -0700] [Job 836] JCL: %-12345X at PJL
D [31/Jul/2008:16:51:32 -0700] [Job 836] @PJL SET MANUALFEED=OFF
D [31/Jul/2008:16:51:32 -0700] [Job 836] @PJL SET MEDIATYPE=NORMAL
D [31/Jul/2008:16:51:32 -0700] [Job 836] @PJL SET ECONOMODE=OFF
D [31/Jul/2008:16:51:32 -0700] [Job 836] @PJL SET COPIES=1
D [31/Jul/2008:16:51:32 -0700] [Job 836] @PJL SET RET=MEDIUM
D [31/Jul/2008:16:51:32 -0700] [Job 836] @PJL SET DENSITY=5
D [31/Jul/2008:16:51:32 -0700] [Job 836] @PJL SET PRINTQUALITY=NORMAL
D [31/Jul/2008:16:51:32 -0700] [Job 836] <job data> 
D [31/Jul/2008:16:51:32 -0700] [Job 836] %-12345X at PJL RESET
D [31/Jul/2008:16:51:32 -0700] [Job 836] 
D [31/Jul/2008:16:51:32 -0700] [Job 836] foomatic-gswrapper: gs
'-sstdout=%stderr' '-dBATCH' '-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE'
'-sDEVICE=ijs' '-sIjsServer=hpijs' '-sDeviceManufacturer=HEWLETT-PACKARD'
'-sDeviceModel=hp LaserJet 1012' '-dDEVICEWIDTHPOINTS=612'
'-dDEVICEHEIGHTPOINTS=792' '-dDuplex=false' '-r600'
'-sIjsParams=Quality:Quality=0,Quality:ColorMode=0,Quality:MediaType=0,Quality:PenSet=0,PS:MediaPosition=7'
'-dIjsUseOutputFD' '-sOutputFile=%stdout' '-_'
D [31/Jul/2008:16:51:32 -0700] [Job 836] Process 23193 ending:
"foomatic-gswrapper -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs
-sIjsServer=hpijs -sDev..."
D [31/Jul/2008:16:51:32 -0700] [Job 836] tail process done writing data to STDOUT
D [31/Jul/2008:16:51:32 -0700] [Job 836] KID4 finished
D [31/Jul/2008:16:51:32 -0700] [Job 836] KID4 exited with status 0
D [31/Jul/2008:16:51:32 -0700] [Job 836] KID3 exited with status 0
D [31/Jul/2008:16:51:32 -0700] [Job 836] Renderer exit stat: 0
D [31/Jul/2008:16:51:32 -0700] [Job 836] KID3 finished
D [31/Jul/2008:16:51:32 -0700] [Job 836] Renderer process finished
D [31/Jul/2008:16:51:32 -0700] [Job 836] 
D [31/Jul/2008:16:51:32 -0700] [Job 836] Closing foomatic-rip.
D [31/Jul/2008:16:51:32 -0700] PID 23186 (/usr/libexec/cups/filter/foomatic-rip)
exited with no errors.
D [31/Jul/2008:16:51:32 -0700] [Job 836] Read 193 bytes of print data...
D [31/Jul/2008:16:51:32 -0700] Discarding unused printer-state-changed event...
D [31/Jul/2008:16:51:32 -0700] [Job 836] Wrote 193 bytes of print data...
D [31/Jul/2008:16:51:32 -0700] PID 23187 (/usr/libexec/cups/backend/usb) exited
with no errors.
D [31/Jul/2008:16:51:32 -0700] [Job 836] File 0 is complete.
I [31/Jul/2008:16:51:32 -0700] [Job 836] Completed successfully.


The cups log from the success :
D [31/Jul/2008:16:40:35 -0700] [Job 826] Closing renderer
D [31/Jul/2008:16:40:35 -0700] [Job 826] JCL: %-12345X at PJL
D [31/Jul/2008:16:40:35 -0700] [Job 826] @PJL SET MANUALFEED=OFF
D [31/Jul/2008:16:40:35 -0700] [Job 826] @PJL SET MEDIATYPE=NORMAL
D [31/Jul/2008:16:40:35 -0700] [Job 826] @PJL SET ECONOMODE=OFF
D [31/Jul/2008:16:40:35 -0700] [Job 826] @PJL SET COPIES=1
D [31/Jul/2008:16:40:35 -0700] [Job 826] @PJL SET RET=MEDIUM
D [31/Jul/2008:16:40:35 -0700] [Job 826] @PJL SET DENSITY=5
D [31/Jul/2008:16:40:35 -0700] [Job 826] @PJL SET PRINTQUALITY=NORMAL
D [31/Jul/2008:16:40:35 -0700] [Job 826] <job data> 
D [31/Jul/2008:16:40:35 -0700] [Job 826] %-12345X at PJL RESET
D [31/Jul/2008:16:40:35 -0700] [Job 826] 
D [31/Jul/2008:16:40:35 -0700] [Job 826] renderer PID kid4=20712
D [31/Jul/2008:16:40:35 -0700] [Job 826] renderer command: gs -q -dBATCH
-dPARANOIDSAFER -dQUIET -dNOPAUSE -sD
EVICE=ijs -sIjsServer=hpijs -sDeviceManufacturer="HEWLETT-PACKARD"
-sDeviceModel="hp LaserJet 1012" -dDEVICEWI
DTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -dDuplex=false -r600
-sIjsParams=Quality:Quality=0,Quality:ColorMode=0,
Quality:MediaType=0,Quality:PenSet=0,PS:MediaPosition=7 -dIjsUseOutputFD
-sOutputFile=- -
D [31/Jul/2008:16:40:35 -0700] [Job 826] foomatic-gswrapper: gs '-dBATCH'
'-dPARANOIDSAFER' '-dQUIET' '-dNOPAU
SE' '-sDEVICE=ijs' '-sIjsServer=hpijs' '-sDeviceManufacturer=HEWLETT-PACKARD'
'-sDeviceModel=hp LaserJet 1012'
 '-dDEVICEWIDTHPOINTS=612' '-dDEVICEHEIGHTPOINTS=792' '-dDuplex=false' '-r600'
'-sIjsParams=Quality:Quality=0,
Quality:ColorMode=0,Quality:MediaType=0,Quality:PenSet=0,PS:MediaPosition=7'
'-dIjsUseOutputFD' '-sOutputFile=
/dev/fd/3' '/dev/fd/0' 3>&1 1>&2
D [31/Jul/2008:16:40:35 -0700] [Job 826] Read 287 bytes of print data...
D [31/Jul/2008:16:40:35 -0700] [Job 826] Wrote 287 bytes of print data...
D [31/Jul/2008:16:40:35 -0700] Discarding unused printer-state-changed event...
D [31/Jul/2008:16:40:35 -0700] [Job 826] Read 8192 bytes of print data...
D [31/Jul/2008:16:40:35 -0700] [Job 826] Wrote 8192 bytes of print data...
D [31/Jul/2008:16:40:35 -0700] [Job 826] Read 3506 bytes of print data...
D [31/Jul/2008:16:40:35 -0700] [Job 826] Wrote 3506 bytes of print data...
D [31/Jul/2008:16:40:35 -0700] [Job 826] Read 8192 bytes of print data...
D [31/Jul/2008:16:40:35 -0700] [Job 826] Wrote 8192 bytes of print data...
D [31/Jul/2008:16:40:35 -0700] [Job 826] Read 3746 bytes of print data...
D [31/Jul/2008:16:40:35 -0700] [Job 826] Wrote 3746 bytes of print data...
D [31/Jul/2008:16:40:35 -0700] [Job 826] Read 4622 bytes of print data...
D [31/Jul/2008:16:40:35 -0700] [Job 826] Wrote 4622 bytes of print data...
D [31/Jul/2008:16:40:35 -0700] [Job 826] Read 4308 bytes of print data...
D [31/Jul/2008:16:40:35 -0700] [Job 826] Wrote 4308 bytes of print data...
D [31/Jul/2008:16:40:35 -0700] [Job 826] Read 3576 bytes of print data...
D [31/Jul/2008:16:40:35 -0700] [Job 826] Wrote 3576 bytes of print data...
D [31/Jul/2008:16:40:35 -0700] [Job 826] Read 4108 bytes of print data...
D [31/Jul/2008:16:40:35 -0700] [Job 826] Wrote 4108 bytes of print data...
D [31/Jul/2008:16:40:35 -0700] [Job 826] Read 3667 bytes of print data...
D [31/Jul/2008:16:40:35 -0700] [Job 826] Wrote 3667 bytes of print data...
D [31/Jul/2008:16:40:35 -0700] [Job 826] Read 5050 bytes of print data...
D [31/Jul/2008:16:40:35 -0700] [Job 826] Wrote 5050 bytes of print data...
D [31/Jul/2008:16:40:35 -0700] [Job 826] Read 1900 bytes of print data...
D [31/Jul/2008:16:40:35 -0700] [Job 826] Wrote 1900 bytes of print data...
D [31/Jul/2008:16:40:35 -0700] [Job 826] Read 6240 bytes of print data...
D [31/Jul/2008:16:40:35 -0700] [Job 826] Wrote 6240 bytes of print data...
D [31/Jul/2008:16:40:36 -0700] [Job 826] Read 2714 bytes of print data...
D [31/Jul/2008:16:40:36 -0700] [Job 826] Wrote 2714 bytes of print data...
D [31/Jul/2008:16:40:36 -0700] [Job 826] KID3 exited with status 0
D [31/Jul/2008:16:40:36 -0700] [Job 826] tail process done writing data to STDOUT
D [31/Jul/2008:16:40:36 -0700] [Job 826] KID4 exited with status 0
D [31/Jul/2008:16:40:36 -0700] [Job 826] Renderer exit stat: 0
D [31/Jul/2008:16:40:36 -0700] [Job 826] KID4 finished
D [31/Jul/2008:16:40:36 -0700] [Job 826] KID3 finished
D [31/Jul/2008:16:40:36 -0700] [Job 826] Renderer process finished
D [31/Jul/2008:16:40:36 -0700] [Job 826] Read 9 bytes of print data...
D [31/Jul/2008:16:40:36 -0700] [Job 826] 
D [31/Jul/2008:16:40:36 -0700] [Job 826] Closing foomatic-rip.
D [31/Jul/2008:16:40:36 -0700] [Job 826] Wrote 9 bytes of print data...
D [31/Jul/2008:16:40:36 -0700] PID 20706 (/usr/libexec/cups/filter/foomatic-rip)
exited with no errors.
D [31/Jul/2008:16:40:36 -0700] PID 20707 (/usr/libexec/cups/backend/usb) exited
with no errors.
D [31/Jul/2008:16:40:36 -0700] [Job 826] File 0 is complete.
I [31/Jul/2008:16:40:36 -0700] [Job 826] Completed successfully.



------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.



More information about the gs-bugs mailing list