[cups.general] query for printer location

Anonymous anonymous at easysw.com
Tue May 18 07:22:19 PDT 2004


Michael Sweet wrote:
> Anonymous wrote:
> > Jerome Alet wrote:
> >
> >>On Fri, May 14, 2004 at 04:26:24PM +0000, Anonymous wrote:
> >>
> >>>Is there an easy way to query cups (like from the command line) to get a list of available printers complete with their descriptions (-D) and locations (-L) as given to lpadmin?
> >>>
> >>>"lpstat -v" is close to what I want, but I can't see any way to
> >>>tell the description or location of each printer.
> >>
> >>lpstat -t
> >>
> >>gives more information
> >>
> >>Jerome Alet
> >>
> >
> > Yup, but it doesn't tell me the description or location :(.
>
> man lpstat
>
> lpstat -l -p
>
That's what I needed.  I had tried it but with the switches in the wrong order.

Thanks!





More information about the cups mailing list