printing = cups -- differences under Linux and solaris??
Shahms E. King
shahms at shahms.com
Fri Aug 3 14:45:12 GMT 2001
On 03 Aug 2001 11:12:48 +0200, Dr. Hansjoerg Maurer wrote:
> I have tested printing=cups under Linux and under solaris.
> Under Linux sambs uses as lpq-command lpq -P
> Under solaris lpstat -q.
> The problem is, that lpstat is much faster than lpq (my experience), so
> that lpq slows down the whole thing.
> But lpstat returns another syntax, so that the queue is not displayed in
> a correct way und solaris.
> Why does printing = cups uses these commands.
> In print_cups.c there seems top be a http request in order to get the
> queue info.
> Do I have to use any configure flags to activate this.
> (testparm shows:
> printing = cups
> print command = lpr -r -P%p %s
> lpq command = lpq -P%p
> lprm command = lprm -P%p %j
> lppause command =
> lpresume command =
> queuepause command =
> queueresume command =
> Thank you very much
no configure flags, just a different option, set printcap name = cups,
the documentation is out of date, or printing = exhibits the wrong
behavior, I'm not sure. Either way, the printing behavior can be
changed witn the "printcap name" option, rather than the "printing"
More information about the samba-technical