LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-12-2014, 03:08 PM   #1
T-Dub116
Member
 
Registered: Aug 2013
Location: Dolyestown
Posts: 88

Rep: Reputation: Disabled
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

Last edited by T-Dub116; 05-12-2014 at 03:11 PM.
 
Old 05-12-2014, 03:48 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,243

Rep: Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527
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
 
Old 05-12-2014, 08:38 PM   #3
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,630

Rep: Reputation: 495Reputation: 495Reputation: 495Reputation: 495Reputation: 495
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.
 
Old 05-13-2014, 08:53 AM   #4
T-Dub116
Member
 
Registered: Aug 2013
Location: Dolyestown
Posts: 88

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by lleb View Post
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?
 
Old 05-20-2014, 09:58 AM   #5
T-Dub116
Member
 
Registered: Aug 2013
Location: Dolyestown
Posts: 88

Original Poster
Rep: Reputation: Disabled
Do you know of any way to get this message to display to a file in stead of the screen at least?
 
Old 06-06-2014, 04:13 PM   #6
T-Dub116
Member
 
Registered: Aug 2013
Location: Dolyestown
Posts: 88

Original Poster
Rep: Reputation: Disabled
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
linux printing to xp usb samba share B3Player Linux - General 5 03-02-2012 11:23 AM
Printing 2 pages in 1 page paper in (Redhat) Linux using command line elmer1503 Linux - General 5 02-01-2006 04:13 AM
USB Printing in RedHat 7.2 PLEASE HELP bluskyambition Linux - Hardware 4 05-27-2002 09:47 AM
RedHat Linux 7.1 printing problem Wolfie2001 Linux - General 0 09-20-2001 07:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration