printing b/w instead of color

Christoph Litauer litauer at uni-koblenz.de
Thu Jun 4 05:14:11 PDT 2009


Christoph Litauer schrieb:
> Hi,
> 
> I have a problem printing color pages on a color laserjet printer, that
> is configured to print b/w by default (ppd file).
> 
> Environment:
> SuSE SLES 10sp1
> cups-1.1.23
> cups-windows-6.0.1
> printer is a HP Color LaserJet CP4005
> 
> I configured the printer to print b/w by default ("Print Color as Gray"
> to "on" via cups interface). Then cupsaddsmb'd the driver. When printing
> from windows all pages are printed b/w, regardless if I switch "print
> color as gray" to on or off in the printers extended options.
> 
> I tracked the problem down a bit: The file generated by the windows
> (cups) driver is printed in color. Filtering this file through pstops or
> the alternate pstops leads to a postscript file that has all the printer
> defaults included, that are defined in the printers ppd-description. As
> the default is "print in b/w", the page is printed b/w.
> I lookup up the source of the alternate pstops and found a comment that
> prevents the inclusion of the ppd defaults if the postscript code contains
> %cupsJobTicket: supress-setup-features-from-ppd
> 
> I proofed this by including this line in the postscript file by hand.
> All worked fine now.
> 
> My question is: I think the windows cups driver (cupsdrv6.dll) should
> generate that pseudo comment, shouldn't it? But looking for strings like
> cupsJobTicket in the dll only leads to:
> 
> %%cupsJobTicket: job-billing="%s"
> %%cupsJobTicket: page-label="%s"
> 
> Some configuration mistake? And ideas? Thanks in advance for any hints!
> Please email a copy as I do not read this group very regularly.
> 

For the sake of completeness: You can download the windows generated
postscript code here (which is printed in color):
ftp://ftphost.uni-koblenz.de/outgoing/litauer/cups/before-pstops.ps

And this is the same file filtered through pstops (which is printed b/w):
ftp://ftphost.uni-koblenz.de/outgoing/litauer/cups/after-pstops.ps

using this ppd file:
ftp://ftphost.uni-koblenz.de/outgoing/litauer/cups/test.ppd

Effect is:

printhost:/tmp/primate # grep ColorModel before-pstops.ps
%%BeginFeature: *ColorModel CMYK
<</ProcessColorModel /DeviceCMYK>> setpagedevice

printhost:/tmp/primate # grep ColorModel after-pstops.ps
%%BeginFeature: *ColorModel Gray
<</ProcessColorModel /DeviceGray>> setpagedevice
%%BeginFeature: *ColorModel CMYK
<</ProcessColorModel /DeviceCMYK>> setpagedevice

-- 
Regards
Christoph
________________________________________________________________________
Christoph Litauer                  litauer at uni-koblenz.de
Uni Koblenz, Computing Center,     http://www.uni-koblenz.de/~litauer
Postfach 201602, 56016 Koblenz     Fon: +49 261 287-1311, Fax: -100 1311
PGP-Fingerprint: F39C E314 2650 650D 8092 9514 3A56 FBD8 79E3 27B2




More information about the cups mailing list