You are not logged in.

#1 2009-04-26 15:24:42

Magician21
Member
Registered: 2007-03-23
Posts: 45

CUPS Get-Jobs returning No printer-uri in request

I had a working printer setup.  Updating my system caused it to stop (gray buttons when attempting to print).

As recommended, I applied the IPV6 modprobe fix and copied the default cups.conf over the current one.  I can now click the buttons to print.  However, now I get a popup that says:
"CUPS_BackEnd: get-jobs failed: client-error-bad-request" with an OK button.

I set the log level to Debug in cups.conf and restarted the daemon.  Here is the output from the log file (numbered the lines myself).

1. D [26/Apr/2009:11:13:02 -0400] Get-Printer-Attributes ipp://localhost/printers/SamsungLaser-Splix
2. D [26/Apr/2009:11:13:02 -0400] cupsdProcessIPPRequest: 9 status_code=0 (successful-ok)
3. D [26/Apr/2009:11:13:02 -0400] cupsdReadClient: 9 GET /printers/SamsungLaser-Splix.ppd HTTP/1.1
4. D [26/Apr/2009:11:13:02 -0400] cupsdAuthorize: No authentication data provided.
5. D [26/Apr/2009:11:13:02 -0400] cupsdAcceptClient: 11 from localhost:631 (IPv4)
6. D [26/Apr/2009:11:13:02 -0400] cupsdReadClient: 11 POST / HTTP/1.1
7. D [26/Apr/2009:11:13:02 -0400] cupsdAuthorize: No authentication data provided.
8. D [26/Apr/2009:11:13:02 -0400] CUPS-Get-Printers
9. D [26/Apr/2009:11:13:02 -0400] cupsdProcessIPPRequest: 11 status_code=0 (successful-ok)
10. D [26/Apr/2009:11:13:02 -0400] cupsdCloseClient: 11
11. D [26/Apr/2009:11:13:02 -0400] cupsdAcceptClient: 11 from localhost:631 (IPv4)
12. D [26/Apr/2009:11:13:02 -0400] cupsdReadClient: 11 POST / HTTP/1.1
13. D [26/Apr/2009:11:13:02 -0400] cupsdAuthorize: No authentication data provided.
14. D [26/Apr/2009:11:13:02 -0400] Get-Jobs ipp://localhost:631/jobs/
15. D [26/Apr/2009:11:13:02 -0400] Get-Jobs client-error-bad-request: No printer-uri in request!
16. D [26/Apr/2009:11:13:02 -0400] cupsdProcessIPPRequest: 11 status_code=400 (client-error-bad-request)

I can clearly see the printer uri being specified on line (1) for the Get-Printer-Attributes call.  However, the Get-Jobs call on line (14) doesn't have it.  This leads to the error information on lines (15) and (16).

I've tried setting the printer to the default, and updated the printer settings (multiple times), both through the web interface.  No luck.

Here's my printer.conf
<Printer SamsungLaser-Splix>
Info Samsung Laser Printer - Splix driver
Location Attic
DeviceURI lpd://192.168.1.200/SamsungLaser
State Idle
StateTime 1237766073
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>

It's a remote printer, but the URI should not be using an IPP address (which is historically correct for my setup).  Everything in the CUPS log seems to be using IPP.  I'm guessing something just isn't configured properly.

Any advice?

Offline

#2 2009-04-26 17:05:22

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: CUPS Get-Jobs returning No printer-uri in request

Search the forum for "cups config" and see if all of the others threads about CUPS problems help.

Offline

#3 2009-04-28 11:34:10

Magician21
Member
Registered: 2007-03-23
Posts: 45

Re: CUPS Get-Jobs returning No printer-uri in request

No luck.

Hard to believe I'm the only person seeing this.  Is there at least a diag tool out there that I can start working with?

Offline

Board footer

Powered by FluxBB