Version: (using KDE KDE 3.5.5) Installed from: Debian testing/unstable Packages OS: Linux I set up a printer with the kdeprint module of kcontrol. I choose samba, find the printer (HP DeskJet 842C) from the network, enter a name and description (HPDeskJet842c and Kitchen respectively), choose the HPIJS driver for the printer and click next test. The first problem: "Unable to create temporary printer.". I click next. Hah: "Unable to create printer. Error message received from manager: client-error-bad-request". It fails thus to create the printer. However, if I create it via the cups web-interface (http://localhost:631) using the same configurations, the printer works, both from the web-interface and the kdeprint kcontrol module. That is why I file the report against the module and not samba, cups et cetera.
*** This bug has been marked as a duplicate of 135561 ***
I am also experiencing this problem under Debian testing. This was reported in Debian's BTS as #395146. I don't know if this is a sign that this could be Debian-specific. Bram, what evidence do you have that this is a duplicate of #135561?
From error_log (this needs LogLevel > info): D [26/Oct/2006:07:27:39 -0400] cupsdAcceptClient: 9 from localhost (Domain) D [26/Oct/2006:07:27:39 -0400] cupsdReadClient: 9 POST /admin/ HTTP/1.1 D [26/Oct/2006:07:27:39 -0400] cupsdAuthorize: No authentication data provided. D [26/Oct/2006:07:27:39 -0400] CUPS-Add-Modify-Printer ipp:///var/run/cups/cups.sock/printers/TEST D [26/Oct/2006:07:27:39 -0400] CUPS-Add-Modify-Printer client-error-bad-request: The printer-uri must be of the form "ipp:/ /HOSTNAME/printers/PRINTERNAME". D [26/Oct/2006:07:27:39 -0400] cupsdProcessIPPRequest: 9 status_code=400 (client-error-bad-request) D [26/Oct/2006:07:27:39 -0400] cupsdCloseClient: 9 So, it looks like CUPS doesn't like "/var/run/cups/cups.sock" as HOSTNAME.
I found if you install hplip then this problem goes away. At least for FC6. If hplip is installed it will allow you to add the printer, but it still won't print. hplip must be started for successful printing.
Closing old Resolved status bug.