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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-29-2004, 11:00 PM
|
#1
|
Member
Registered: Jan 2004
Posts: 390
Rep:
|
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?
|
|
|
08-30-2004, 01:14 AM
|
#2
|
Senior Member
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167
Rep:
|
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..
|
|
|
08-30-2004, 02:51 PM
|
#3
|
Member
Registered: Jan 2004
Posts: 390
Original Poster
Rep:
|
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.
|
|
|
08-31-2004, 02:57 PM
|
#4
|
Member
Registered: Aug 2003
Location: Isles of Man & Wight
Distribution: See signature
Posts: 548
Rep:
|
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
|
|
|
09-01-2004, 12:40 AM
|
#5
|
Member
Registered: Jan 2004
Posts: 390
Original Poster
Rep:
|
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.
|
|
|
09-01-2004, 04:52 AM
|
#6
|
Member
Registered: Aug 2003
Location: Isles of Man & Wight
Distribution: See signature
Posts: 548
Rep:
|
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.
|
|
|
09-01-2004, 08:48 PM
|
#7
|
Member
Registered: Jan 2004
Posts: 390
Original Poster
Rep:
|
Thanks alot. I disabled the firewall but no success. Any other idea.
|
|
|
09-02-2004, 08:07 AM
|
#8
|
Member
Registered: Aug 2003
Location: Isles of Man & Wight
Distribution: See signature
Posts: 548
Rep:
|
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
|
|
|
09-03-2004, 03:09 PM
|
#9
|
Member
Registered: Jan 2004
Posts: 390
Original Poster
Rep:
|
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?
|
|
|
09-03-2004, 03:16 PM
|
#10
|
Member
Registered: Aug 2004
Location: Aachen, Germany
Distribution: Debian Sarge
Posts: 129
Rep:
|
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
|
|
|
09-03-2004, 03:43 PM
|
#11
|
Member
Registered: Jan 2004
Posts: 390
Original Poster
Rep:
|
PBSchmidt
Thanks for reply. Would you please explain how I can do that?
|
|
|
09-03-2004, 04:10 PM
|
#12
|
Member
Registered: Aug 2004
Location: Aachen, Germany
Distribution: Debian Sarge
Posts: 129
Rep:
|
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
|
|
|
09-04-2004, 03:51 AM
|
#13
|
Member
Registered: Jan 2004
Posts: 390
Original Poster
Rep:
|
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?
|
|
|
09-04-2004, 09:02 AM
|
#14
|
Member
Registered: Jan 2004
Posts: 390
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 06:48 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|