[cups] CUPS Printer Description
Helge Blischke
HelgeBlischke at web.de
Mon Jun 9 13:39:20 PDT 2014
Look at
http://www.cups.org/documentation.php/doc-1.6/api-cups.html#OPTINS
and see the example code referring to the attribute "printer-info".
Helge
Am 09.06.2014 um 20:42 schrieb Sy Bensky:
> Hi,
>
> OS: Max OSX 10.8.5
> CUPS: 1.6.2
>
> On the CUPS web interface, the first column is the "Queue Name"
> which is also the "Name" in the CUPS API.
>
> The second column is headed "Description."
>
> I can retrieve the printer names through the CUPS API using
> cupsGetPrinters or
> cupsGetDest.
>
> I have been able to retrieve the printer "Description" by parsing /
> etc/cups/printers.conf.
> However, reading printers.conf requires root user privileges.
>
> Is there an API function to retrieve the printer "Description?"
>
> Sincerely,
>
> Sy
> _______________________________________________
> cups mailing list
> cups at cups.org
> https://www.cups.org/mailman/listinfo/cups
More information about the cups
mailing list