Skip to main content

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


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.62.tar.bz2 (52.9 kB view details)

Uploaded Source

File details

Details for the file pycups-1.9.62.tar.bz2.

File metadata

  • Download URL: pycups-1.9.62.tar.bz2
  • Upload date:
  • Size: 52.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pycups-1.9.62.tar.bz2
Algorithm Hash digest
SHA256 72ae9a9c86f0b91ea6301e0d9a3851863fb857d7083962a3e942765cecc2bc01
MD5 126945c4ec3e04cf0223c4ddd9beb6b4
BLAKE2b-256 bccc21a1956edfcea708def64dbdd305e974d7b390b022f284d0317755c89665

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page