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.2.tar.gz
(65.1 kB
view details)
File details
Details for the file pycups-2.0.2.tar.gz
.
File metadata
- Download URL: pycups-2.0.2.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 | d0aac38fe2b558dfab2292b0af382c8aaab301571a26080ab3988d444c977d22 |
|
MD5 | 334a54f06853221de58df2a24b9b3814 |
|
BLAKE2b-256 | 0100e9d516760aea7c5a335d516d9798ce06e0e26de11b66ec8ef86a2681cdbf |