Making a USB printer work with lpr (a fix)

Larry Kollar yellowdog-general@lists.terrasoftsolutions.com
Tue May 7 19:03:01 2002


In case anyone else may want this info in the future....

After installing YDL 2.2, I was unable to get lpd to work with
my USB laser printer (a Lexmark Optra E312L, but that's not
important). Using usbview, I realized that the driver module
wasn't loading at boot time (confirmed by dmesg).

Well, doing   insmod /lib/modules/2.4.18-0.8a/kernel/drivers/usb/printer.o
took care of *that*, but now lpd was telling me it couldn't
open /dev/usb/lp0 (permission denied). Sure enough, it was
owned by root and 0660. I did  chgrp lp /dev/usb/lp0  and
that was the end of that.

So I stuck the insmod command in rc.local, problem solved.

-- 
Larry Kollar   k o l l a r  at  a l l t e l . n e t
"Content creators are the engine that drives value in the
information life cycle."   -- Barry Schaeffer, on XML-Doc