Passing LPR arguments through 'cups-lpd '

Helge Blischke h.blischke at srz.de
Thu Jul 7 05:26:37 PDT 2005


Brian Schonecker wrote:
> 
> Well, going through the cups-lpd source code, seem that it doesn't accept any command line arguments other than '-o'.
> 
> This seems to be a feature set that's available in LPD but not in cups.
> 
> Brian

What about modifying your filter to function as a service (e.g. driven and controlled by
xinetd) to extract all the options and, additionaly, the data stream to be printed, and
issue a lp command to print this stuff via CUPS ?

Looking into the LPRng documentation regarding the sequence of control and data files
and the options allowed in the control file, this should be not too hard.

Helge

-- 
Helge Blischke
Softwareentwicklung
SRZ Berlin | Firmengruppe besscom
http://www.srz.de




More information about the cups mailing list