printing to HP Color LaserJet 2600n on OpenBSD

Jan Stary hans at stare.cz
Fri Jan 23 06:21:58 PST 2009


Hi all,

I run CUPS on OpenBSD 4.4 (from ports). My printer is
the (shitty) HP Color LaserJet 2600n, so I installed all
the foo2* ports as well:

foo2zjs-20071102
foomatic-db-3.0.20070708
foomatic-db-engine-3.0.20070919
foomatic-db-gutenprint-5.0.1
foomatic-db-hpijs-20070820
foomatic-filters-3.0.2p1

I did a basic configuration,  added the printer.
Now, when I try to actually print, issuing

$ echo test | lpr

nothing comes out, and he (debug) log says:

D [23/Jan/2009:14:36:10 +0100] [Job 8] Starting renderer
D [23/Jan/2009:14:36:10 +0100] [Job 8] renderer PID kid4=24895
D [23/Jan/2009:14:36:10 +0100] [Job 8] renderer command: foo2hp2600-wrapper   -z0  -b1 -p9 -s7 -m1   -d1 -n1 -Gdefault
D [23/Jan/2009:14:36:10 +0100] [Job 8] JCL: <job data>
D [23/Jan/2009:14:36:10 +0100] [Job 8]
D [23/Jan/2009:14:36:10 +0100] [Job 8] /usr/local/bin/foo2hp2600-wrapper[289]: -z: unknown option
D [23/Jan/2009:14:36:10 +0100] [Job 8] Read 91 bytes of print data...
D [23/Jan/2009:14:36:10 +0100] [Job 8] renderer return value: 1
D [23/Jan/2009:14:36:10 +0100] [Job 8] Wrote 91 bytes of print data...
D [23/Jan/2009:14:36:10 +0100] [Job 8] Read 2737 bytes of print data...
D [23/Jan/2009:14:36:10 +0100] [Job 8] renderer received signal: 1
D [23/Jan/2009:14:36:10 +0100] [Job 8] tail process done writing data to STDOUT
D [23/Jan/2009:14:36:10 +0100] [Job 8] Process dying with "Possible error on renderer command line or PostScript error. Check options.", exit stat: 3
D [23/Jan/2009:14:36:10 +0100] [Job 8] KID4 finished
D [23/Jan/2009:14:36:10 +0100] [Job 8] Closing renderer

The jobs is there (stopped).

It seems that _someone_ is trying to run foo2hp2600-wrapper with a -z option,
which the foo2hp2600-wrapper does not recognize (although its man page says it does). Is this observation correct?

If so, could you please guide me to the place in the CUPS command
chain where this command line is composed? The above is an excerpt, obviously.
What happens before is a correct texttops, followed by a correct pstops.
The log excerpt whos the step where it fails.

Or is it some other problem?

Thanks a lot.

Jan





More information about the cups mailing list