Python bindings for libcups
Project description
This is a set of Python bindings for the libcups library from the CUPS project.
>>> # Example of getting a list of printers >>> import cups >>> conn = cups.Connection () >>> printers = conn.getPrinters () >>> for printer in printers: ... print printer, printers[printer]["device-uri"] ... HP ipp://192.168.1.1:631/printers/HP duplex ipp://192.168.1.1:631/printers/duplex HP-LaserJet-6MP ipp://192.168.1.1:631/printers/HP-LaserJet-6MP EPSON-Stylus-D78 usb://EPSON/Stylus%20D78
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pycups-1.9.69.tar.bz2
(51.8 kB
view hashes)