You are not logged in.

#1 2024-02-29 19:15:24

bakl
Member
Registered: 2023-12-04
Posts: 10

[SOLVED] CUPS IPP authentication issues

I have a printer that requires username password IPP authentication. I have added it to cups with the URI 'ipp://<printer ip>'. When I go to print from chromium or lpr to this printer nothing prints and http://localhost:631 shows 'Held for authentication.' in the job status. Once I observed a dialog box asking for a password when printing through Chromium, but after entering the username and password for this printer the job status doesn't change. If I print through GIMP then the password prompt comes up every time, but the job status stays the same and no printing occurs. I have tried to removing 'AuthInfoRequired username,password' and tried setting the uri to 'ipp://<username>:<password>@<printer ip>' to no avail. I am using the ppd for my printer

Any ideas?

From '/etc/cups/printer.conf'

<Printer PrinterName>
PrinterId 12
UUID urn:uuid:<censored>
AuthInfoRequired username,password
Info
Location
MakeModel TOSHIBA MonoMFP
DeviceURI ipp://<user>:<pass>@<ip>
State Idle
StateTime 1709233712
ConfigTime 1709233648
Type 8433876
Accepting Yes
Shared No
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
Attribute marker-colors \#000000,none,none,none,none
Attribute marker-levels 87,-1,-1,-1,-1
Attribute marker-names Black Toner,,,,Waste Toner
Attribute marker-types toner,unknown,unknown,unknown,waste-toner
Attribute marker-change-time 1709233710
</Printer>

Last edited by bakl (2024-03-01 21:16:20)

Offline

#2 2024-03-01 04:11:45

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,016

Re: [SOLVED] CUPS IPP authentication issues

AuthInfoRequired is still in that config.

Make sure to clear the job queue and restart cups, does the 'Held for authentication.' status still remain?
Can you disable the authentication to check whether the printer is otherwise setup correctly?

Offline

#3 2024-03-01 19:55:30

bakl
Member
Registered: 2023-12-04
Posts: 10

Re: [SOLVED] CUPS IPP authentication issues

I did remove 'AuthInfoRequired username,password' and try it, but I put it back after as it didn't change anything. I also tried 'AuthInfoRequired none' to no avail. I have tried restarting cups, my pc, and clearing the jobs. I send a new job for each try. Unfortunately the printer isn't mine, so I can't change any settings, but I am able to look at them. I tested in a windows vm with IPP and it works fine with no password. Using LPD from CUPS also seems to work with no password. I have also gotten IPP to work for other printers with CUPS. I think it is a weird issue with the config of the printer and cups. If it matters the printer is a TOSHIBA e-STUDIO477S.

Offline

#4 2024-03-01 21:06:59

bakl
Member
Registered: 2023-12-04
Posts: 10

Re: [SOLVED] CUPS IPP authentication issues

I figured it out. The issue was that I wasn't putting a print queue in the URI. For my printer the queue name is 'Print', so for it to work correctly it needs to be 'ipp://<printer ip>/<queue name>'. For me it ended up as 'ipp://10.0.0.1/Print'.

Last edited by bakl (2024-03-01 21:07:19)

Offline

Board footer

Powered by FluxBB