pycups
pycups copied to clipboard
python-cups upstream repo
Recently I use this ARM board as a print box : [Orange Pi Zero2](http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-Pi-Zero-2.html) The OS is [Debian](https://drive.google.com/drive/folders/1Xk7b1jOMg-rftowFLExynLg0CyuQ7kCM?usp=sharing) When I test this code: ```python import cups as cp import time...
When I am printing using this module, I want to specify different options such as no of copies, select page no etc. The options are to be passed in a...
In the CUPS user interface, you can set a custom paper size by selecting "Custom" for the media size, which adds fields for width and height, and a drop-down for...
Calling the function `getJobs` in a thread crash the application. It seems that some functions are not thread-safe. How can I handle it? ```bash Exception in thread Thread-1: Traceback (most...
``` Installed Packages Name : python3-cups Version : 2.0.1 Release : 10.fc34 Architecture : x86_64 Source : python-cups-2.0.1-10.fc34.src.rpm ``` ``` > ipython Python 3.9.7 (default, Aug 30 2021, 00:00:00) In...
I've encountered the following: ``` >>> printers = conn.getPrinters() >>> print(printers) {} >>> printers = conn.getDefault() >>> print(printers) Citizen_CL-S621Z >>> ``` Am I doing something wrong? Anything else I can...
In original cups documentation they allow you to specify a name to view the queue of a printer, pycups only allows you originally to see jobs across all queues. I've...
Hi, I am trying to get my cups printer to 'hold-new-jobs', but its not cear to me how I should do an IPPRequest with the necessary IPPAttribue(s) and handle the...
It seems getJobs is not able to able to return completed jobs no matter what I set "which_jobs" to. I'm using this documentation: http://nagyak.eastron.hu/doc/system-config-printer-libs-1.2.4/pycups-1.9.51/html/ getJobs accept three values for which_jobs:...
Hello, I can't change the Orientation where i print a text file `conn.printFile(selectedPrinter, myfile, "test", {'INT_IPP_ORIENT_CONSTANT': 'LANDSCAPE'})` can you give me the good parameter to do this. Cordialy,