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-2.0.1.tar.gz (63.0 kB view details)

Uploaded Source

File details

Details for the file pycups-2.0.1.tar.gz.

File metadata

  • Download URL: pycups-2.0.1.tar.gz
  • Upload date:
  • Size: 63.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.2 pkginfo/1.4.2 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.6

File hashes

Hashes for pycups-2.0.1.tar.gz
Algorithm Hash digest
SHA256 57434ce5f62548eb12949ca8217f066f4eeb21a5d6ab8b13471dce350e380c90
MD5 41eef188b86d01ccfdbaaa05cf0f6ca4
BLAKE2b-256 0cbb82546806a86dc16f5eeb76f62ffdc42cce3d43aacd4e25a8b5300eec0263

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