LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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-01-2008, 08:30 PM   #1
zensunni
Member
 
Registered: Feb 2008
Posts: 45

Rep: Reputation: 0
Printing to a network printer using Fedora Core.


I'm trying to print to a network printer from linux.

Printer:
HP Photosmart D7460

Network:
Printer is connected to my linksys router. It says it's connected and ready to print. My linux computer is connected to the router too. The router has port 631 open for printing. My linux firewall has port 361 open.


I added a printer by selecting System->Administration->Printing, then selecting "New printer". For the wizard, I selected Internet Printing Protocol, typed in the hostname that my printer gave me, and listed the name of the printer as WirelessPrinter and clicked Forward. Then i went with the default "Printing_Protocol" name, left descrption blank and used the default "localhost.localdomain" for Location.

Printer shows up in the Printer configuration window, but whenever I test it or print with another program, the print job just hangs on pending. I also noticed that the state: enabled option gets unchecked automatically everytime I try to print.

I feel like I'm missing quite a few steps, but those are the only printing options I see.

Thanks for reading and for any help.

[Edit] Looking at the printer, it says you have to install something in windows to get it to print via a network. I'm starting to wonder if this is actually a network printer (IE, print server).

Last edited by zensunni; 03-01-2008 at 08:59 PM.
 
Old 03-02-2008, 06:02 AM   #2
Samotnik
Member
 
Registered: Jun 2006
Location: Belarus
Distribution: Debian GNU/Linux testing/unstable
Posts: 471

Rep: Reputation: 40
It's not a _really_ network printer - you should use CUPS and a driver you could find on the offsite to make it working.
 
Old 03-02-2008, 06:05 AM   #3
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Use the proper tool for the task at hand; http://127.0.0.1:631
Set the printer up as a JetDirect printer, supply the IP address of the printer and the port 9100.
AppSocket/HP JetDirect
Device URI://socket//:xxx.xxx.xxx.xxx:9100

The printer is compatible to HP DeskJet 990C (hpijs) if your model number is not shown/known.
 
Old 03-02-2008, 12:50 PM   #4
zensunni
Member
 
Registered: Feb 2008
Posts: 45

Original Poster
Rep: Reputation: 0
Thanks, that worked. But I'm still unsure how of a couple of things.

I used this:
socket://192.168.1.104:9100

If 9100 means socket 9100, how was it able to bypass my router and firewall? Also, is "socket://" a keyword for JetDirect protocol, or is it more of a general thing?

Last edited by zensunni; 03-02-2008 at 12:52 PM.
 
Old 03-02-2008, 02:56 PM   #5
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
The default JetDirect port is 9100 and "socket;/" is more of a general thing. So in other words, cups is printing directly to the HP JetDirect device at the TCP/IP address of 192.168.1.104 using the default port of 9100.
 
  


Reply



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
Installing Canon LBP USB Printer as network printer on a Fedora Core without XWindow boy3dfx2 Linux - Newbie 5 06-03-2006 01:23 PM
Printing to an IP Printer in Fedora Core 2 Skawaii Linux - Hardware 10 11-19-2004 03:02 PM
Printing to a network printer jrdioko Linux - Newbie 20 09-10-2004 04:21 PM
Printing to network printer KHAAAN Linux - Networking 1 07-05-2004 07:34 PM
Printing across a network from Fedora Core 1 through OS X with CUPS cthrax Linux - Networking 0 01-14-2004 12:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:53 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
Open Source Consulting | Domain Registration