LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 11-17-2004, 04:34 PM   #1
Skawaii
LQ Newbie
 
Registered: Sep 2004
Location: Utah
Distribution: Fedora Core 2
Posts: 12

Rep: Reputation: 0
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.
 
Old 11-17-2004, 04:53 PM   #2
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,292

Rep: Reputation: 167Reputation: 167
Which driver did you choose? What is the queue that you used?
good luck.
 
Old 11-17-2004, 05:10 PM   #3
Skawaii
LQ Newbie
 
Registered: Sep 2004
Location: Utah
Distribution: Fedora Core 2
Posts: 12

Original Poster
Rep: Reputation: 0
the driver that i picked is hpijs

the queue type is:
Networked CUPS (IPP)
Server: 128.187.136.111
Path: /printers/queue1
 
Old 11-17-2004, 05:29 PM   #4
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,292

Rep: Reputation: 167Reputation: 167
Looks like the correct driver, what does the following command return?

lpinfo -v ENTER

good luck.
 
Old 11-19-2004, 01:26 PM   #5
Skawaii
LQ Newbie
 
Registered: Sep 2004
Location: Utah
Distribution: Fedora Core 2
Posts: 12

Original Poster
Rep: Reputation: 0
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 -ness.
 
Old 11-19-2004, 02:01 PM   #6
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,292

Rep: Reputation: 167Reputation: 167
Try issuing it as root or su -.
good luck.
 
Old 11-19-2004, 02:17 PM   #7
Skawaii
LQ Newbie
 
Registered: Sep 2004
Location: Utah
Distribution: Fedora Core 2
Posts: 12

Original Poster
Rep: Reputation: 0
hmm...no, issuing the lpinfo -v command as root didn't do anything different
 
Old 11-19-2004, 02:36 PM   #8
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,292

Rep: Reputation: 167Reputation: 167
Try using this.

/usr/sbin/lpinfo -v
good luck.
 
Old 11-19-2004, 02:47 PM   #9
Skawaii
LQ Newbie
 
Registered: Sep 2004
Location: Utah
Distribution: Fedora Core 2
Posts: 12

Original Poster
Rep: Reputation: 0
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?
 
Old 11-19-2004, 02:59 PM   #10
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,292

Rep: Reputation: 167Reputation: 167
Can you ping the printer?

ping -c4 128.187.136.111

good luck.
 
Old 11-19-2004, 03:02 PM   #11
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,292

Rep: Reputation: 167Reputation: 167
Here is some more info.

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

good luck.
 
  


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
HP Laserjet Parallel printing, Fedora Core 2 LinuxFox Linux - Hardware 2 04-25-2005 12:23 PM
Printing problem Fedora Core 3 ketilmm Linux - General 2 01-14-2005 03:30 AM
RedHat/Fedora Core Printing Manager... justin_p Linux - Software 0 10-05-2004 05:19 PM
Printing across a network from Fedora Core 1 through OS X with CUPS cthrax Linux - Networking 0 01-14-2004 12:41 PM
Printing to PS printer fails after Fedora upgrade corndorf Linux - Software 1 12-22-2003 08:27 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration