%PDF- %PDF-
Direktori : /usr/lib/python3/dist-packages/pycups-2.0.1.egg-info/ |
Current File : //usr/lib/python3/dist-packages/pycups-2.0.1.egg-info/PKG-INFO |
Metadata-Version: 2.1 Name: pycups Version: 2.0.1 Summary: Python bindings for libcups Home-page: https://github.com/zdohnal/pycups Download-URL: https://github.com/zdohnal/pycups/releases Maintainer: Zdenek Dohnal Maintainer-email: zdohnal@redhat.com License: GPLv2+ Classifier: Intended Audience :: Developers Classifier: Topic :: Software Development :: Libraries :: Python Modules Classifier: License :: OSI Approved :: GNU General Public License (GPL) Classifier: Development Status :: 5 - Production/Stable Classifier: Operating System :: Unix Classifier: Programming Language :: C Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 3 License-File: COPYING 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