You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
turn on debug logging in cups by cupsctl LogLevel=debug2, reproduce again and attach the log file or journal logs in file with .txt suffix (this way github accepts files).
This can be issue with your CUPS setup and debug logs can tell us more.
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 = {
'print-color-mode': 'monochrome',
'copies': '2',
'document-format': cups.CUPS_FORMAT_AUTO,
out:
Job 198 status: 5
Job 198 status: 5
Job 198 status: 5
Job 198 status: completed
but no printed
The text was updated successfully, but these errors were encountered: