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.71.tar.bz2
(52.7 kB
view details)
File details
Details for the file pycups-1.9.71.tar.bz2.
File metadata
- Download URL: pycups-1.9.71.tar.bz2
- Upload date:
- Size: 52.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5fdb72a13e709f555fe6226aac7eaf2afdb36b53d5bd554703cb0fa8bf516e1c
|
|
| MD5 |
9373857a5f55d3f949ef39840db6e880
|
|
| BLAKE2b-256 |
36d546527260b03cd60fd33467535bd7f1aeacec133eff8124d4685f5827f422
|