LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-01-2005, 12:27 AM   #1
alice95089
Member
 
Registered: Dec 2004
Location: hong kong
Posts: 44

Rep: Reputation: 15
How can i set up a USB printer in redhat?


Hi all,
I would like to ask how can i set up a usb printer in redhat?

i set my printer as follow:
system setting --> printing
to launch the GUI for printer set up

Press new button on the GUI,set the Name and short description afterward like:
Name: printer
Short description: Alice printer
and click forward....
select a queue type: Locally-connected

and the printer could be detected as:
/dev/usb/lp0
in the following box

I selete HP PSC 2210 series( the one i am using is HP psc 1350 all in one series)
the go on...


[root@localhost /]# cat /root/sum.c > /dev/usb/lp0
[root@localhost /]# lpq
printer is ready
no entries
[root@localhost /]#

I used the about command to try to print a test page with no use

I try to modify the /etc/printcap.local file as follow:

[root@localhost /]# cat /etc/printcap.local
# printcap.local
#
# This file is included by printconf's generated printcap,
# and can be used to specify custom hand edited printers.

lp0|printer:\
:sh:\
:ml=0:\
:mx=0:\
:sd=/var/spool/lpd/lp0:\
:lp=/dev/usb/lp0:\
:lpd_bounce=true:\
:if=/usr/share/printconf/my_rules:
[root@localhost /]#

[root@localhost /]# service lpd start
Starting lpd: Warning - printer: 'no :rm, :lp, or :sv entry'
Warning - printer: Bad printcap entry - missing 'sd' or 'client' entry?
Warning - network: 'no :rm, :lp, or :sv entry'
Warning - network: Bad printcap entry - missing 'sd' or 'client' entry?
Warning - printer1: 'no :rm, :lp, or :sv entry'
Warning - printer1: Bad printcap entry - missing 'sd' or 'client' entry?
Fatal error - Cannot bind to lpd port '515'
[FAILED]
[root@localhost /]#


I would like to ask...can anyone here teach me how can i set my printer?

Thanks!
 
Old 03-01-2005, 07:44 PM   #2
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
1) Assuming that you are using CUPS, open up a browser and go to http://localhost:631.

2) Click "Manage Printers" and then "Add Printer"

3) Enter the details that are requested, and click next.

4) Select the device. In your case, it should be "USB Printer 1"

5) Find your printer in the list, and click next.

You will possibly need to install the HPIJS drivers for your printer to show up in the list. Go Here for more info.

I hope this helps
--Ian
 
  


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
USB Laser Printer HP Laserjet 1000 is not working with Fedora Core 1,2,3 & RedHat 9 BM Shukla Linux - Hardware 5 02-23-2005 02:47 AM
Redhat9 Usb Printer Set Up anwar_lpk Linux - Hardware 17 08-26-2003 10:00 PM
how do i make redhat recognize my printer new printer driver Kilahchris Linux - General 2 03-04-2003 05:08 PM
RedHat set up - printer & Internet dial up romcgill Linux - Newbie 8 02-16-2003 08:09 AM
USB Printer setup in RedHat 8.0 salocano Linux - Hardware 4 02-13-2003 09:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:47 PM.

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