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
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.59.tar.bz2
(51.6 kB
view details)
File details
Details for the file pycups-1.9.59.tar.bz2.
File metadata
- Download URL: pycups-1.9.59.tar.bz2
- Upload date:
- Size: 51.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
333520741cb2b1df6dcd32dcfea63ca6afdfd79188c4ec1a433272d84268927f
|
|
| MD5 |
636598c3fbf49af8df26ca9afef81559
|
|
| BLAKE2b-256 |
17619c70fa071d177f25a757234d7035f570a9d1f34994887a844db08e5b8780
|