LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices

Reply
 
Search this Thread
Old 08-29-2004, 11:00 PM   #1
linx win
Member
 
Registered: Jan 2004
Posts: 390

Rep: Reputation: 31
Network print server


I got a network print server which works fine in WinXP but could not set it up in Linux SuSE 9.1. In WinXP it uses an lpr port 9100. It has a static IP address whic I am able to ping in SuSE 9.1. Any idea?
 
Old 08-30-2004, 01:14 AM   #2
Thoreau
Senior Member
 
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
Port 9100 is a standard hp jetdirect printing port among other things. You just need to add a printer via tcp/ip and specify that port with the proper drivers. If that's what you're asking..
 
Old 08-30-2004, 02:51 PM   #3
linx win
Member
 
Registered: Jan 2004
Posts: 390

Original Poster
Rep: Reputation: 31
Thoreau

Thanks for reply. That is exactly what I did. I tried the following sequence:
I selected Print Directly to a network printer
Then selected Direct TCP Port Printing
I entered the IP address of the print server in the field of Host name of the printer server
Port number 9100
When I do test, I get the following:
can not connect to the print server, Check if the print server is running (which is the case) or contact your administrator.
Am I following the right procedure?
Moreover, when I change the port number to 515 it tells me the print server is accessable but when I print, the status led on the print server comes on for a while and goes off and no printing.


Last edited by linx win; 08-31-2004 at 12:30 AM.
 
Old 08-31-2004, 02:57 PM   #4
minrich
Member
 
Registered: Aug 2003
Location: Isles of Man & Wight
Distribution: See signature
Posts: 548

Rep: Reputation: 40
hey linx win

are you using cups? I got my minolta magicolor laser 2300DL to work as a network printer, having downloaded the driver via www.linuxprinting.org, but I had to enter URI as 192.168.1.200:9100 where 192.168.1.200 is the IP address I manually entered into my printer. Interestingly, and I am using kde, on Printing manager it shows up in the properties tab as:

URI: socket://192.168.1.200:9100

but on the Information tab it shows as:

URI: ipp://suse90:631/printers/magicolor where suse90 is my machine name (localhost) and 'magicolor' is the printer shortname.

HTH
 
Old 09-01-2004, 12:40 AM   #5
linx win
Member
 
Registered: Jan 2004
Posts: 390

Original Poster
Rep: Reputation: 31
minrich

Thanks for reply. I am using SuSE 9.1, CUPS and HP 6P printer. I have no problem with the driver for my printer. I connected my printer directly to my Linux box and I am able to print. My problem is with the print server. I have entered the IP address of my print server 192.168.1.20 but I did not allow me to enter it as you suggested as 192.168.1.20:9100. It gave an error message. I also got the same result you got in KDE print manager:

Device: socket://192.168.1.20:9100/
and
URI: ipp://linux:631/printers/lpr1

But no printing. It seems to me that the problem with port 9100 because when I use port 515 or port 631 the status light starts blinking but no printing while for port 9100 it does not do anything at all.
 
Old 09-01-2004, 04:52 AM   #6
minrich
Member
 
Registered: Aug 2003
Location: Isles of Man & Wight
Distribution: See signature
Posts: 548

Rep: Reputation: 40
I am not particularly familiar with the HP 6P, but a quick search of HP's 'support and drivers' for it suggests to me that you need the 'jetdirect' network ?card? in the printer. Is this a correct assumption? And is your printer now connected to your LAN? If so please make sure that your built-in firewall is disabled - otherwise the 9100 port will (or at least maybe) blocked. if it works ok with WinXP then it must be the port that is blocked.
 
Old 09-01-2004, 08:48 PM   #7
linx win
Member
 
Registered: Jan 2004
Posts: 390

Original Poster
Rep: Reputation: 31
Thanks alot. I disabled the firewall but no success. Any other idea.
 
Old 09-02-2004, 08:07 AM   #8
minrich
Member
 
Registered: Aug 2003
Location: Isles of Man & Wight
Distribution: See signature
Posts: 548

Rep: Reputation: 40
okay

in a console type:

ncap -v 192.168.1.0/24

check for 192.168.1.20 (your printer IP) mine shows the following ports open:

Port State Service
23/tcp open telnet
80/tcp open http
427/tcp open svrloc
515/tcp open printer
631/tcp open ipp
5001/tcp open commplex-link
9100/tcp open jetdirect


Let me know what yours shows.

HTH
 
Old 09-03-2004, 03:09 PM   #9
linx win
Member
 
Registered: Jan 2004
Posts: 390

Original Poster
Rep: Reputation: 31
Thanks for reply. This is what I got:

]linux:/home/mas # ncap -v 192.168.1.20/24
bash: ncap: command not found

I repeated this command without being root and got the same results.

Does that mean that I am messing a package?
 
Old 09-03-2004, 03:16 PM   #10
PBSchmidt
Member
 
Registered: Aug 2004
Location: Aachen, Germany
Distribution: Debian Sarge
Posts: 129

Rep: Reputation: 15
Hi linx win,

can you set yout LJ6 in standard lpr mode monitoring the port 515? The jetdirect (aka "raw") is not too standard - my LJ1150 works fine connected by lpr via an SMC access point, the setup in CUPS was a breeze.

HTH, Peter
 
Old 09-03-2004, 03:43 PM   #11
linx win
Member
 
Registered: Jan 2004
Posts: 390

Original Poster
Rep: Reputation: 31
PBSchmidt

Thanks for reply. Would you please explain how I can do that?
 
Old 09-03-2004, 04:10 PM   #12
PBSchmidt
Member
 
Registered: Aug 2004
Location: Aachen, Germany
Distribution: Debian Sarge
Posts: 129

Rep: Reputation: 15
Hi linx win,

well, that is above my knowledge - I can rememebr, the JetDirect offers a configuration either via telnet or HTTP, so maybe you can find an option there that enables standard lpr queue. This also works under Windows, you only have to add a new port as "generic TCP/IP" and set the protocol to lpr. The JetDirect interface should show you the queue name (usually lp1 or similar).

But, as I stated, this is theory, for I do not have a jetDirect at hand to check it.

HTH, Peter
 
Old 09-04-2004, 03:51 AM   #13
linx win
Member
 
Registered: Jan 2004
Posts: 390

Original Poster
Rep: Reputation: 31
PBSchmidt
minrich
Thoreau

Thanks. I got it working on another Linux SuSE 9.1 box. I did the following:
Yast2 >>su >> hardware >> printer >> other not detected >> configure >> Print directly to network printer >> next >> Remote LPD Queue >> 192.168.1.20/24 >> lpr1 >> next
Then I followed the normal printer setup. I got it printing correctly on this box. However, when I try to do the same on the other PCs in the network it will not allow me to go to the step where I can select the printer manufacturer and type. So, when I print from those PC, It does print but I do not get the right document print.

Moreover, during my trial and error efforts I have done some thing wrong and deleted the cups server. I tried re-installing the cups rpms but no success. Any idea how I can restore cups server to its original status?
 
Old 09-04-2004, 09:02 AM   #14
linx win
Member
 
Registered: Jan 2004
Posts: 390

Original Poster
Rep: Reputation: 31
Finally, problem solved. I copied the ppd file for the printer from the PC that has it working to /etc/cups/ppd folder on the PCs where printing did not work. Now all Linux PCs on my network are enjoying printing on my print server. Thanks to all of you for support and fruitful hints.
 
  


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
Good distro for network/file/print/ftp/web server... AudioMechanic Linux - General 3 03-09-2005 10:12 AM
Unable to print over network to Slackware 10 Server using Samba v3.0.5 DaneM Linux - Networking 6 02-04-2005 01:10 AM
Unable to coneect to Network print server (CNet 430) chhorn Linux - Newbie 1 11-11-2004 07:01 AM
Can a Linux print server be set up on a Microsoft server network? crenshawmarc Mandriva 3 09-29-2003 07:40 AM
Setting up a Samba network Print Server sancho5 Linux - General 1 02-01-2002 03:34 PM


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

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