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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for pycups-1.9.63.tar.bz2
Algorithm Hash digest
SHA256 82fa731a34afe30206bd2a8f4b2ee6a317d8da62a73aa1a2e837b9a217acf797
MD5 cdee3ef87ac68d435c8ea04384563d15
BLAKE2b-256 10da2f6ffaa43e7b2c65ef0e90b1b88affcd2d3d4fe0b5cd210ed8b3f489e650

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