You are not logged in.

#1 2010-09-23 11:00:33

vpoinot
Member
Registered: 2009-04-09
Posts: 19

Changing printer config from applet (KDE)

I have just installed cups and configured my printer from cups web interface, and everything works fine from there, i.e. being logged in as root in cups.

Now I would like to configure my printer from KDE SystemSettings/Hardware/Printer Configuration (package kdeadmin-system-config-printer-kde), but this fails: for instance, if I try to make my printer the default printer, I get a popup saying:

There was an error during the CUPS operation: 'client-error-forbidden'.|

Looking at cups logs:

E [23/Sep/2010:12:31:02 +0200] Returning HTTP Forbidden for CUPS-Set-Default (ipp://localhost/printers/Didot) from localhost
E [23/Sep/2010:12:31:04 +0200] Returning HTTP Forbidden for CUPS-Add-Modify-Printer (ipp://localhost/printers/Didot) from localhost
E [23/Sep/2010:12:31:49 +0200] Bad request line "<garbage here>" from localhost!

I guess this is a permissioning issue, so I checked the device file; lsusb tells me that the printer is on bus 5, device 2:

# lsusb
Bus 005 Device 002: ID 03f0:6204 Hewlett-Packard DeskJet 5150c
...

And:

# ls -l /dev/bus/usb/005/002
crw-rw-r--+ 1 root lp 189, 513 Sep 23 12:37 /dev/bus/usb/005/002

So the device belongs to lp group, just like my user, so I don't know what's missing there...

(Note that I have blacklisted usblp as I understand that cups 1.4 does not need it anyway).

Any idea?

Offline

Board footer

Powered by FluxBB