LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Linux RedHat USB Printing (https://www.linuxquestions.org/questions/linux-newbie-8/linux-redhat-usb-printing-4175504746/)

T-Dub116 05-12-2014 02:08 PM

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

John VV 05-12-2014 02:48 PM

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

lleb 05-12-2014 07:38 PM

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.

T-Dub116 05-13-2014 07:53 AM

Quote:

Originally Posted by lleb (Post 5169656)
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.

It Prints perfectly fine everything that I am sending, and I am able to clear the screen but for my customer its a pain and they are not really looking to upgrade there server at this moment. Do you know of any way to get this message to display to a file in stead of the screen at least?

T-Dub116 05-20-2014 08:58 AM

Do you know of any way to get this message to display to a file in stead of the screen at least?

T-Dub116 06-06-2014 03:13 PM

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.