PDA

View Full Version : Can't print to /dev/usb/lp0


granjohnfg
28th February 2004, 02:37 AM
What do I have to do to get the printer to see and use /dev/usb/lp0? I've tried everything I know (no laughing out loud, please), but still can't print over it! Please help! The machine is a Dell Inspiron 5100, and I'm running FC1 with all the latest updates. Here's what lsusb gives me:
[root@church root]# lsusb
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
And here's from modinfo:
[root@church root]# modinfo printer filename: /lib/modules/2.4.22-1.2174.nptl/kernel/drivers/usb/printer.o
description: "USB Printer Device Class driver"
author: "Michael Gee, Pavel Machek, Vojtech Pavlik, Randy Dunlap, Pete Zaitcev, David Paschal"
license: "GPL"
parm: proto_bias int, description "Favourite protocol number"

Here's the configuration from redhat-config-printer:

Under Queue Type: /dev/usb/lp0 Custom Device

And here's the error message I get:

E [27/Feb/2004:12:27:21 -0500] PID 11691 stopped with status 1!
E [27/Feb/2004:12:27:21 -0500] [Job 8] Unable to open USB device "usb:/dev/usb/lp0": No such device
E [27/Feb/2004:12:27:23 -0500] PID 11690 stopped with status 9!

Help, help help!

john

joking
14th March 2004, 08:00 PM
go to print manager
are there any printers listed?
if not then you must install it.
go to System Settings and Printing
Click on NEW and follow the prompts
this will set the printer up properly.

make sure on the Queue Type tab you have the correct port sellected for the printer.

Once it is set up you can use the TEST feature on the screen to attempt a test print. if that works then the printer is set up and ready for use.

going to a terminal window you can do this:

cat /etc/inittab >/dev/usb/lp0

and then enter and it should send the file to the printer.

you'll note that when you use OpenOffice to print it won't have the printer names listed. you will use whatever is displaying and it will send it to the default printer.