pycups icon indicating copy to clipboard operation
pycups copied to clipboard

python-cups upstream repo

Results 27 pycups issues
Sort by recently updated
recently updated
newest added

It might be useful for new users to have some usage and API documentation.

When running ```bash pip install pycups ``` The following is returned. ```bash Collecting pycups Downloading pycups-2.0.1.tar.gz (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.0/63.0 kB 5.6 MB/s eta 0:00:00 Preparing metadata (setup.py) ... done...

I have tried conn.createSubscription and pycups-notify package, they are both not working. **1 For the conn.createSubscription, my code is:** `sub_id = conn.createSubscription( uri="ipp://localhost:631/printers/cups_new_printer_2", events=['all'], recipient_uri='http://localhost:8000/abc', )` It's always raise the...

Is there a way to set margins size when setting custom page size. ? I am able to pass custom page size but not able set the margin to be...

I cannot get it to print - the printer shows up with getPrinters(), but trying to print a file with `conn.printFile(printer='L805', filename='myfile', title='mytitle' , options={})` results in `cups.IPPError: (1030, 'The...

First: I'm very sorry for abusing github issues for this. I checked the website but wasn't able to find any better way to contact you, as the irc channel looks...

Ubuntu Desktop 23.04 Edit: I do have libcups2-dev installed. Edit 2: For anyone else who needs to print from Python on Linux, and really, doesn't everyone?, check out https://github.com/phin1x/python-ipp pip...

link = 'http://example.pdf' conn = cups.Connection() printers = conn.getPrinters() printer_name = list(printers.keys())[0] print(printers) print(printer_name) print(link) resp = requests.get(link) content = resp.content temp = tempfile.NamedTemporaryFile(delete=False, suffix='.pdf') try: temp.write(content) temp.seek(0) job_attrs =...

Hello. This PR is based on the proposal #4, but I thought a better approach to it would be to use the string library rather than regex. Still, there are...

I'm trying to utilize the addPrinter method in connection. However, it only accepts a name. The documentation says that there are additional parameters that can be used but the method...