[cups.general] query for printer location

Michael Sweet mike at easysw.com
Mon May 17 18:40:59 PDT 2004


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

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Printing Software for UNIX                       http://www.easysw.com




More information about the cups mailing list