You are not logged in.
I've an unusual situation I am hoping someone can help me with.
I've a server running Ubuntu 22.04. Patched as of 2 days ago. It runs CUPS 2.4.1. Attached to it is an HP LaserJet 1505p. It can self print without issue from the CUPS UI.
I've a macos laptop that can print to the printer via CUPS without issue.
I have a 7 month old framework laptop running Arch and it will not print to the printer.
Laptop in question: Kernel 6.9.6-arch1-1, KDE Plasma 6.1.0, Wayland. No other issues.
I've tried using hp-setup but it will not launch the GUI (I suspect QT6 isn't supported yet?). I use the interactive tool and it cannot detect any network printers.
I can create a connection via the KDE printer settings and set up a printer. I use the same printer driver (name) that is used in the Ubuntu server set up. When I attempt to test print the CUPS server shows the state as stopped 'Filter failed'.
I've tried a few different variations of the printer driver, but I went back to the one that matches the other system.
I enabled debug mode on the CUPS server. Here is the error.log output.
D [11/Jul/2024:14:22:46 -0700] [Job 70] 1 filters for job:
D [11/Jul/2024:14:22:46 -0700] [Job 70] hpcups (application/vnd.cups-raster to printer/HP_LaserJet_P1505, cost 0)
D [11/Jul/2024:14:22:46 -0700] [Job 70] job-sheets=none,none
D [11/Jul/2024:14:22:46 -0700] [Job 70] print-color-mode=gray, print-quality=normal
D [11/Jul/2024:14:22:46 -0700] [Job 70] Adding preset option ColorModel=Gray
D [11/Jul/2024:14:22:46 -0700] [Job 70] Adding preset option OutputMode=Normal
D [11/Jul/2024:14:22:46 -0700] [Job 70] argv[0]="HP_LaserJet_P1505"
D [11/Jul/2024:14:22:46 -0700] [Job 70] argv[1]="70"
D [11/Jul/2024:14:22:46 -0700] [Job 70] argv[2]="user"
D [11/Jul/2024:14:22:46 -0700] [Job 70] argv[3]="Test Page"
D [11/Jul/2024:14:22:46 -0700] [Job 70] argv[4]="1"
...
D [11/Jul/2024:14:22:46 -0700] [Client 8] POST /printers/HP_LaserJet_P1505 HTTP/1.1
D [11/Jul/2024:14:22:46 -0700] cupsdSetBusyState: newbusy="Active clients, printing jobs, and dirty files", busy="Active clients, printing jobs, and dirty files"
D [11/Jul/2024:14:22:46 -0700] [Client 8] Read: status=200, state=6
D [11/Jul/2024:14:22:46 -0700] [Client 8] No authentication data provided.
D [11/Jul/2024:14:22:46 -0700] [Client 8] 2.0 Get-Job-Attributes 8
D [11/Jul/2024:14:22:46 -0700] Get-Job-Attributes [url]https://192.168.50.54:631/printers/HP_LaserJet_P1505[/url]
D [11/Jul/2024:14:22:46 -0700] [Client 8] Returning IPP successful-ok for Get-Job-Attributes ([url]https://192.168.50.54:631/printers/HP_LaserJet_P1505[/url]) from 192.168.50.171.
D [11/Jul/2024:14:22:46 -0700] [Client 8] Content-Length: 266
D [11/Jul/2024:14:22:46 -0700] [Client 8] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [11/Jul/2024:14:22:46 -0700] [Job 70] STATE: -marker-supply-low-warning
D [11/Jul/2024:14:22:46 -0700] cupsdMarkDirty(---J-)
D [11/Jul/2024:14:22:46 -0700] cupsdSetBusyState: newbusy="Active clients, printing jobs, and dirty files", busy="Active clients, printing jobs, and dirty files"
D [11/Jul/2024:14:22:46 -0700] [Job 70] prnt/hpcups/HPCupsFilter.cpp 602: cupsRasterOpen failed, fd = 5
D [11/Jul/2024:14:22:46 -0700] [Client 8] con->http=0x557fe71a7450
D [11/Jul/2024:14:22:46 -0700] [Client 8] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=266, response=0x557fe71b6010(IPP_STATE_DATA), pipe_pid=0, file=-1
D [11/Jul/2024:14:22:46 -0700] [Client 8] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [11/Jul/2024:14:22:46 -0700] [Client 8] bytes=0, http_state=0, data_remaining=266
D [11/Jul/2024:14:22:46 -0700] [Client 8] Flushing write buffer.
D [11/Jul/2024:14:22:46 -0700] [Client 8] New state is HTTP_STATE_WAITING
D [11/Jul/2024:14:22:46 -0700] [Client 8] Waiting for request.
D [11/Jul/2024:14:22:46 -0700] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Active clients, printing jobs, and dirty files"
D [11/Jul/2024:14:22:46 -0700] [Job 70] prnt/backend/hp.c 913: ERROR: null print job total=0
D [11/Jul/2024:14:22:46 -0700] [Job 70] PID 99546 (/usr/lib/cups/backend/hp) exited with no errors.
D [11/Jul/2024:14:22:46 -0700] cupsdMarkDirty(----S)
D [11/Jul/2024:14:22:46 -0700] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
E [11/Jul/2024:14:22:46 -0700] [Job 70] Job stopped due to filter errors; please consult the /var/log/cups/error_log file for details.
Any ideas?
Last edited by rppp01 (2024-07-11 22:28:04)
Offline
Please use [code][/code] tags. Edit your post in this regard.
https://wiki.archlinux.org/title/CUPS/T … ith_hpcups ?
Generally the warning in https://wiki.archlinux.org/title/CUPS#Network_2
I use the interactive tool and it cannot detect any network printers.
https://wiki.archlinux.org/title/CUPS#Network - network printer detecion needs avahi specifically
Offline
"Use Generic IPP Everywhere Printer driver on the client. When selecting the driver in the CUPS Web Interface, you should find it in the Generic manufacturer."
That was it! Thank you!
Offline