[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: usb/cups printer problem after etch upgrade



On Sun, Apr 29, 2007 at 14:31:24 +0100, graham wrote:
> Florian Kulzer wrote:
>> On Sat, Apr 28, 2007 at 23:08:39 +0100, graham wrote:
>
>> Just to be sure: Run
>> apt-get --purge remove hotplug
>> (Plain "remove" leaves configuration files on the system; "--purge" gets
>>  rid of them.)
>
> OK, done.
>
> Following which I power cycled the printer and rebooted the server. No 
> change.
>
>> find /dev/ -name usblp0 -exec ls -l {} \;
   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I'd still like to see the output of the above command just to be sure.

>> [...]
>>> snoopy>/usr/lib/cups/backend/usb
>>> direct usb://Brother/HL-5040%20series "Brother HL-5040 series" "Brother 
>>> HL-5040 series USB #1" "MFG:Brother;CMD:PJL,PCL,PCLXL;MDL:HL-5040 
>>> series;CLS:PRINTER;"
>> So far, so good. Now let's see how the printer is defined for CUPS. Post
>> the output of
>> grep DeviceURI /etc/cups/printers.conf
>
> DeviceURI usb://Brother/HL-5040%20series
>
> Looks identical to the /dev name to me.

Most USB DeviceURIs that I find on the web have "?serial=..." appended
after the <model> string. Maybe the problem is that in your case no
serial number is found by the USB backend of CUPS. (I am speculating
here; I never used CUPS with a USB printer.)

You could try:

DeviceURI usb:/dev/...

or

DeviceURI USB #1

instead. (Replace "..." with the exact path to the device node. Run
"invoke-rc.d cupsys restart" or "/etc/init.d/cupsys restart" after
editing printers.conf.)

-- 
Regards,            | http://users.icfo.es/Florian.Kulzer
          Florian   |



Reply to: