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-2.0.2a0.tar.gz
(65.2 kB
view details)
File details
Details for the file pycups-2.0.2a0.tar.gz.
File metadata
- Download URL: pycups-2.0.2a0.tar.gz
- Upload date:
- Size: 65.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45d707ef5a8677ed74778a10c58283d57992dbcf5b85955b5b85bb8a1d3fc87f
|
|
| MD5 |
58fd2b47346926cc7e3aa743d8d51eec
|
|
| BLAKE2b-256 |
d31b9142a8f0a46884f46863a9b7180b018b4ef2048c21fc59378fd189cd155e
|