Can't Make LPD Print Raw

Adam Williams adamtaunowilliams at gmail.com
Sat May 26 06:11:46 PDT 2007


> >> So why are things getting processed/filtered?  How under 1.2.x can I make job filtering ***STOP***?
> > Does the "-o raw" option no longer work in 1.2?
> Sure it does, but for cups-lpd you need to use the full name and not
> the short form:
> server_args = cups-lpd -o document-format=application/vnd.cups-raw

Yep, I've tried that.  The frustrating this is that it has no effect.

My current /etc/xinetd.d/cups-lpd -
--------------------------------------
service printer
{
        disable = no
        socket_type = stream
        protocol = tcp
        wait = no
        user = lp
        server = /usr/lib/cups/daemon/cups-lpd
        server_args = cups-lpd -o document-format=application/vnd.cups-raw
}
---------------------------------------
And I restarted both CUPS and xinetd,  and I send a print job in via LPD, and in the cups log -

I [26/May/2007:04:56:55 -0400] File of type text/plain queued in job #53 by "adam".
I [26/May/2007:04:56:55 -0400] Started filter /usr/lib/cups/filter/pstops (PID 4976) for job 53.
I [26/May/2007:04:56:55 -0400] Started backend /usr/lib/cups/backend/ipp (PID 4977) for job 53.
I [26/May/2007:04:56:55 -0400] Started filter /usr/lib/cups/filter/texttopaps (PID 4978) for job 53.
I [26/May/2007:04:56:55 -0400] Started filter /usr/lib/cups/filter/pstops (PID 4979) for job 53.
N [26/May/2007:04:56:56 -0400] [Job 53] Print file accepted - job ID 18.

It is filtering the job!  And the job, which is text with a bit of PCL, comes out mangled.

They must be something else that needs to be set;  but the settings at this point look very much like the settings for my old CUPS 1.1.x server,  which worked.




More information about the cups mailing list