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.4.tar.gz
(65.1 kB
view details)
File details
Details for the file pycups-2.0.4.tar.gz
.
File metadata
- Download URL: pycups-2.0.4.tar.gz
- Upload date:
- Size: 65.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 843e385c1dbf694996ca84ef02a7f30c28376035588f5fbeacd6bae005cf7c8d |
|
MD5 | a4e9bcdc2012fcff660e0806416a1fb3 |
|
BLAKE2b-256 | 96c4b077f0422cd031e4f3a47c75ce0bcf77f2f2e5bf3648f6945a4d09fd44a5 |