LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-05-2005, 11:55 AM   #1
okeyla
Member
 
Registered: Nov 2004
Posts: 47

Rep: Reputation: 15
USB printer for linux...


It seems it's complicated for activating USB printer in linux.
I just follow the guide book said:

(1)make sure the USB printer module is on.
printer
usb-uhci
usbcore

(2)command
cat document.txt > /etc/lp

My epson c61 is always not working!!!
( It's ok in windows , of course. )

Could anyone guide me step by step?
Linux printing is annoying!!!
(Both X or console mode are welcome!)

===
My OS is RedHat9 , kernal 2.4.20-8
 
Old 03-05-2005, 12:01 PM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
Its important to let people know what distribution you are using. Try configuring your printer using the cups configuration utility located at http://localhost:631 using your web browser.
 
Old 03-05-2005, 10:28 PM   #3
okeyla
Member
 
Registered: Nov 2004
Posts: 47

Original Poster
Rep: Reputation: 15
I just follow the advice.
But , it's still not working...
Distribution is RedHat9 , kernal 2.4.20-8

could someone have console mode setup procedure?
 
Old 03-06-2005, 03:50 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
What make of printer is it?
 
Old 03-06-2005, 04:13 AM   #5
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Re: USB printer for linux...

Quote:
Originally posted by okeyla
It seems it's complicated for activating USB printer in linux.
I just follow the guide book said:

(1)make sure the USB printer module is on.
printer
usb-uhci
usbcore

(2)command
cat document.txt > /etc/lp
A printer is a device and the drivers will be in /dev not /etc . The device lp in "nix" refers to Line Printer which would normally be associated with a parallel device so with the foregoing explanation the correct command would be;

cat document.txt > /dev/usb/lp0 or slightly easier way of testing a printer is to tell it to send the date i.e. date > /dev/usb/lp0 (note that a paper pickup error on the printer may occur requiring a page forward on the printer panel)

explanation for the above is send the contents of date or document.txt to /device/usb/LinePrinter0

If this does not work check that the system is actually seeing the printer - cat /proc/bus/usb/devices

you should see the printer listed if not then you have not installed the correct drivers.

If the printer is being seen as above and is working fine I also recommend using cups-system for good quality printing and control.
 
  


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
Converting a parallel port input to a usb printer via a Linux box as a print server GlamZ Linux - Software 3 10-07-2004 12:26 AM
how can I get Linux to see my USB printer thejester Linux - Newbie 4 08-10-2004 02:16 PM
Linux with USB Printer Shared with Linux Basta Linux - Networking 2 06-09-2004 04:39 PM
Linux - XP - USB Printer uranologist Linux - Networking 3 09-10-2003 11:23 PM
how to configure HP Deskjet 3325 USB PRINTER AND ACER 3300 USB SCANNER ON RHL 8.0 rddreamz Linux - Newbie 2 07-12-2003 09:05 AM


All times are GMT -5. The time now is 02:17 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