[Samba] Tru64 Samba queue display problem

abartlet at samba.org abartlet at samba.org
Sun May 26 20:20:03 GMT 2002


On Mon, May 27, 2002 at 01:06:43PM +1000, Daniel Frencham wrote:
> 
> > >Quick hack:  Use the 'lpq command' smb.conf option to instead run a shell
> > >script that eats the first line.
> 
> Already done that, but management want a cleaner solution.

Then don't use LPQ.  LPQ is a *hack*, its not a protocol, its effectivly
'rsh printer lpq' a lot of the time.

Feel like adding your particular quirk to samba?  The code is in 
printing/lpw_parse.c if you are game ;-)

If you really want a clean solution, look at somthig like CUPS, which has
a proper, defined interface.

Andrew Bartlett






More information about the samba mailing list