LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Printing to an IP Printer in Fedora Core 2 (https://www.linuxquestions.org/questions/linux-hardware-18/printing-to-an-ip-printer-in-fedora-core-2-a-256132/)

Skawaii 11-17-2004 04:34 PM

Printing to an IP Printer in Fedora Core 2
 
ok, so i'm running fedora core 2. the kernal number is 2.6.8-1.521. the printer i'm trying to connect to is a HP LaserJet 5si

i'm trying to connect to my printer at work, which is setup as an ip printer. i've tried adding it in the printer configuration using networked cups (ipp) as the queue type. i put in the rest of the information (printer manufactor and model number). however, no test page ever came out of the printer. this is what was in the log file:

Code:

I [17/Nov/2004:15:09:24 -0700] Adding start banner page "none" to job 1.
I [17/Nov/2004:15:09:24 -0700] Adding end banner page "none" to job 1.
I [17/Nov/2004:15:09:24 -0700] Job 1 queued on 'work' by 'root'.
I [17/Nov/2004:15:09:24 -0700] Started filter /usr/lib/cups/filter/pstops (PID 16187) for job 1.
I [17/Nov/2004:15:09:24 -0700] Started filter /usr/lib/cups/filter/foomatic-rip (PID 16188) for job 1.
I [17/Nov/2004:15:09:24 -0700] Started backend /usr/lib/cups/backend/ipp (PID 16189) for job 1.

when i look back in the printer configuration, the following shows up as the description of my newly added printer:

Code:

Network hot '128.187.136.111' is busy; wil retry 30 seconds...INFO: Connecting to 128.187.136.111 on port 631...
i've never setup a networked printer in linux before, so i really don't know what to do about this. any help would be fantastic. thanks.

Peacedog 11-17-2004 04:53 PM

Which driver did you choose? What is the queue that you used?
good luck.

Skawaii 11-17-2004 05:10 PM

the driver that i picked is hpijs

the queue type is:
Networked CUPS (IPP)
Server: 128.187.136.111
Path: /printers/queue1

Peacedog 11-17-2004 05:29 PM

Looks like the correct driver, what does the following command return?

lpinfo -v ENTER

good luck.

Skawaii 11-19-2004 01:26 PM

when i type lpinfo -v , and get a message saying bash: lpinfo: command not found. however, i have a man page about this command, so i figure that it must be there somewhere. ideas? btw, please excuse my :newbie: -ness.

Peacedog 11-19-2004 02:01 PM

Try issuing it as root or su -.
good luck.

Skawaii 11-19-2004 02:17 PM

hmm...no, issuing the lpinfo -v command as root didn't do anything different

Peacedog 11-19-2004 02:36 PM

Try using this.

/usr/sbin/lpinfo -v
good luck.

Skawaii 11-19-2004 02:47 PM

thanks. i finally got the command to work. here's the ouput (although i'm quite sure what this means):

network socket
network http
network ipp
network lpd
direct canon:/dev/lp0
direct epson:/dev/lp0
direct parallel:/dev/lp0
direct ptal
direct scsi
serial serial:/dev/ttyS0?baud=115200
serial serial:/dev/ttyS1?baud=115200
serial serial:/dev/ttyS2?baud=115200
serial serial:/dev/ttyS3?baud=115200
serial serial:/dev/ttyS4?baud=115200
serial serial:/dev/ttyS5?baud=115200
serial serial:/dev/ttyS6?baud=115200
serial serial:/dev/ttyS7?baud=115200
direct usb:/dev/usb/lp0
direct usb:/dev/usb/lp1
direct usb:/dev/usb/lp2
direct usb:/dev/usb/lp3
direct usb:/dev/usb/lp4
direct usb:/dev/usb/lp5
direct usb:/dev/usb/lp6
direct usb:/dev/usb/lp7
direct usb:/dev/usb/lp8
direct usb:/dev/usb/lp9
direct usb:/dev/usb/lp10
direct usb:/dev/usb/lp11
direct usb:/dev/usb/lp12
direct usb:/dev/usb/lp13
direct usb:/dev/usb/lp14
direct usb:/dev/usb/lp15
network smb

on a side note: how do i make it so that i can just type lpinfo -v and not have to give the whole path?

Peacedog 11-19-2004 02:59 PM

Can you ping the printer?

ping -c4 128.187.136.111

good luck.

Peacedog 11-19-2004 03:02 PM

Here is some more info.

http://www.cups.org/sam.html#COMMON_NETWORK

good luck.


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