Linux RedHat USB Printing
# cat /etc/*-release
lc/versionRed Hat Enterprise Linux ES release 4 (Nahant Update 3) # cat /proc/version Linux version 2.6.9-34.ELsmp (bhcompile@hs20-bc1-7.build.redhat.com) (gcc versio n 3.4.5 20051201 (Red Hat 3.4.5-2)) #1 SMP Fri Feb 24 16:54:53 EST 2006 When I send a print job through my application I am getting this error message filling the screen. (seems to be for every page that comes out) Error: /drivers/usb/class/usblp.c: usblp0: error -115 writing to printer printer is on the Server as # lpstat -v | grep usb device for HPdeskjet: usb:/dev/usb/lp0 # lsusb Bus 005 Device 001: ID 0000:0000 Bus 004 Device 004: ID 03f0:0004 Hewlett-Packard DeskJet 895c 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 |
you are going to have many unsolvable problems with RHEL 4.3
the entire 4 series is unsupported ,and has been unsupported for some time . and the current is RHEL 6.5 do you have a gui installed or is the CUPS web interface accessible http://localhost:631/ port 631 is the cups interface is the printer set up mind you not even redhat still supports rhel4 |
there is a good possibility with RHEL 4.3 that you may not have USB printer support in CUPS.
see John VVs post for upgrading to 6.5 or just wait a few more months for RHEL 7.x to go live. should be before the end of the year. im guessing on the release date, but it is into public beta now so thats a good sign. |
Quote:
|
Do you know of any way to get this message to display to a file in stead of the screen at least?
|
I find the solution
Enter this command at the command line: dmesg -n 1 Also added into /etc/rc.local if server is rebooted it will run command again. |
All times are GMT -5. The time now is 12:44 PM. |