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-2.0.0.tar.gz
(62.8 kB
view details)
File details
Details for the file pycups-2.0.0.tar.gz.
File metadata
- Download URL: pycups-2.0.0.tar.gz
- Upload date:
- Size: 62.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/1.12.2 pkginfo/1.4.2 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0cb8f20059899830c14268e4d41e9503ffef04813cc3fe8a978867c0bad8e32c
|
|
| MD5 |
f48b2c853db5b7302beb4a385dd8aa87
|
|
| BLAKE2b-256 |
90a54b66bca34942de47bb93aa16c90dfca1089bd32f1593f92bccbee4c1e563
|