Re: Printer List from CUPS
- From: djw <dwelch@xxxxxxxxxx>
- Date: Thu, 08 Sep 2005 10:46:03 -0700
Mike Tammerman wrote:
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
The HPLIP project (hpinkjet.sf.net) includes a basic CUPS extension module in the src/prnt/cupsext directory. Its pretty rough, but it will return a list of CUPS printers easily enough. I am in the process of rewriting it in Pyrex and hope to include more complete CUPS API coverage.
-Don .
- Follow-Ups:
- Re: Printer List from CUPS
- From: Mike Tammerman
- Re: Printer List from CUPS
- References:
- Printer List from CUPS
- From: Mike Tammerman
- Printer List from CUPS
- Prev by Date: Re: improvements for the logging package
- Next by Date: Re: List of integers & L.I.S.
- Previous by thread: Re: Printer List from CUPS
- Next by thread: Re: Printer List from CUPS
- Index(es):