Can't Make LPD Print Raw

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


> > But my cups-lpd for xinetd.d looks like -
> > 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 raw
> > }
> > So why are things getting processed/filtered?  How under 1.2.x can I make job filtering ***STOP***?
> Please compare your version of /etc/xinet.d/cups to the one that is spelled out in "man cups-lpd".

I have dozens of times.

> Take note of the "server_args" line, specifically. Set it up like it
> is spelled out in the man page, and you should be fine. (Also,
> "cups-lpd" is *not* a server_*arg* by any means).

Ok, I remove it
--------------------------
service printer
{
        disable = no
        socket_type = stream
        protocol = tcp
        wait = no
        user = lp
        server = /usr/lib/cups/daemon/cups-lpd
        server_args = -o document-format=application/vnd.cups-raw
}
--------------------------
Restart, xinetd and get the exact same behavour as before.

I [26/May/2007:05:15:07 -0400] Adding start banner page "standard" to job 54.
I [26/May/2007:05:15:07 -0400] Job 54 created on "cisps" by "adam".
I [26/May/2007:05:15:07 -0400] File of type text/plain queued in job #54 by "adam".
I [26/May/2007:05:15:07 -0400] Started filter /usr/lib/cups/filter/pstops (PID 5052) for job 54.
I [26/May/2007:05:15:07 -0400] Started backend /usr/lib/cups/backend/ipp (PID 5053) for job 54.
I [26/May/2007:05:15:07 -0400] Started filter /usr/lib/cups/filter/texttopaps (PID 5054) for job 54.
I [26/May/2007:05:15:07 -0400] Started filter /usr/lib/cups/filter/pstops (PID 5055) for job 54.

The only thing relevant in the cups-lpd man page is the statement:
-----------------
Inserts  options  for all print queues. Most often this is used to
disable the "l" filter so that remote print jobs are  filtered  as
needed  for printing; the examples in the previous section set the
"document-format"  option  to   "application/octet-stream"   which
forces autodetection of the print file format.
-----------------
Which is not what I want,  I don't want to force the filtering of remote jobs.   I'm assuming that setting document-format to "application/vnd.cups-raw" does the opposite.




More information about the cups mailing list