printing b/w instead of color

Christoph Litauer litauer at uni-koblenz.de
Thu Jun 4 04:34:49 PDT 2009


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.

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