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-1.9.65.tar.bz2
(54.6 kB
view details)
File details
Details for the file pycups-1.9.65.tar.bz2
.
File metadata
- Download URL: pycups-1.9.65.tar.bz2
- Upload date:
- Size: 54.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45ccc53a7277e2d953d4c42a648cee1fe7e05430e8f9cfd3778a33b6f9ad288b |
|
MD5 | aa6a181c5b60801ad2434adda6441ea3 |
|
BLAKE2b-256 | 5e77e84392e5c6d99aa1f7f1f5db46b32fffe5e873354ff092734ec57d290ab8 |