Questions tagged [pycups]
17 questions
0
votes
0 answers
How to access the printers connected to a local machine when CUPS is installed in an Ubuntu Server
I have an Odoo Instance running in an Ubuntu Server.I installed the module base_report_to_printer ( Module link : https://github.com/OCA/report-print-send/tree/11.0/base_report_to_printer ) for printing the pdf reports directly to default printer…

vbt
- 795
- 7
- 31
0
votes
1 answer
How to detect if my printer is turned off with cups?
I am using Python and pycups.
I would like to know if there is a way to get the state of my printer using pycups.
I tried this :
conn = cups.Connection()
printers = conn.getPrinters()
The problem is that even when the printer is off, I get the…

M.Brbr
- 83
- 7