retrieving device uri of printers

Anonymous anonymous at easysw.com
Fri Jul 15 12:15:13 PDT 2005


> On Fri, Jul 15, 2005 at 01:19:35PM -0400, boklyn wong wrote:
> > HI i am doing some development on software that is built upon
> > cups. My development requires retrival of printing information of
> > the printers registered and detected by cups. Cups provides function
> > to retrive printer names as well as ppd files based on printer
> > names. I have not yet found an interface that would return other
> > information stored by cups like the device uri in which the printer
> > is currently registered. I was wondering if anyone has found a way
> > to retrieve other detail information about the printer.
>
>   $ lpstat -t
>
> or :
>
>   $ man lpstat
>
> hth
>
> Jerome Alet
>
>

Thanks man you just save me hours of googling as well as reading cups source code




More information about the cups mailing list