pycups-2.0.4
توضیحات
Python bindings for libcups
| ویژگی | مقدار |
|---|---|
| سیستم عامل | Unix |
| نام فایل | pycups-2.0.4 |
| نام | pycups |
| نسخه کتابخانه | 2.0.4 |
| نگهدارنده | ['Zdenek Dohnal'] |
| ایمیل نگهدارنده | ['zdohnal@redhat.com'] |
| نویسنده | - |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/OpenPrinting/pycups |
| آدرس اینترنتی | https://pypi.org/project/pycups/ |
| مجوز | GPLv2+ |
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
نحوه نصب
نصب پکیج whl pycups-2.0.4:
pip install pycups-2.0.4.whl
نصب پکیج tar.gz pycups-2.0.4:
pip install pycups-2.0.4.tar.gz