Printer List from CUPS

Mike Tammerman mtammerman at gmail.com
Thu Sep 8 12:33:07 CEST 2005


Hi,

I want to get the printer list from CUPS. I found some ways using

lpstat -p and
http://localhost:631/printers

but, these ways require some parsing and I am not sure, if the parsing
works all the time. A pythonic way would be very helpful.

Thanks,
Mike




More information about the Python-list mailing list