LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How can i set up a USB printer in redhat? (https://www.linuxquestions.org/questions/linux-software-2/how-can-i-set-up-a-usb-printer-in-redhat-296127/)

alice95089 03-01-2005 12:27 AM

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!

IBall 03-01-2005 07:44 PM

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


All times are GMT -5. The time now is 10:42 PM.