r_horton
asked on
SCO UNIX OPENSERVER HP PRINT SERVERS
I have a SCO Unix 5.0.5 Openserver Enterprise system on the internet that clients (using an ibm3151 term emulation program in windows) utilize our software on. We require the clients to have a HP Laser Printer with an internet based IP address so that we can send print jobs directly from our SCO box (using lp command) to the clients HP Print Server's IP address.
My question is what is the best way to setup the printers in SCO since every printer that a client has is an HP Laserjet class printer attached to an external HP Print Server? I have heard I need to use the BootP HP software, but I dont really use BOOTP because the print servers are setup and have their own internet based IP address.
Also, some clients want to use their firewall so the HP Print server will have an internal IP address that will be statically translated as valid internet IP address and I am wondering what ports will be used for the outbound prints jobs from the SCO Server to the remote HP Print Server; For firewall issues. I.E. if the nat translation needs to know specific ports so the translation from the valid internet IP address to the internal Print Server address will have the correct ports open.
Please remeber that my clients are directly telnetting into the SCO unix box and generating print jobs from the machine back to their print servers.
Please HELP......
My question is what is the best way to setup the printers in SCO since every printer that a client has is an HP Laserjet class printer attached to an external HP Print Server? I have heard I need to use the BootP HP software, but I dont really use BOOTP because the print servers are setup and have their own internet based IP address.
Also, some clients want to use their firewall so the HP Print server will have an internal IP address that will be statically translated as valid internet IP address and I am wondering what ports will be used for the outbound prints jobs from the SCO Server to the remote HP Print Server; For firewall issues. I.E. if the nat translation needs to know specific ports so the translation from the valid internet IP address to the internal Print Server address will have the correct ports open.
Please remeber that my clients are directly telnetting into the SCO unix box and generating print jobs from the machine back to their print servers.
Please HELP......
ASKER
I already know how to do your suggestion (that is straight out of the SCO manual by the way). I need to know what ports are used by the jet direct print server so that the firewall will be configured correctly for the internal IP translation.
Thank you,
rch
Thank you,
rch
Yes, I did get that info right out of the manual. I guess I misunderstood your question. I hooked an HP as I described above and could print to it from my Unix and Windows sytems no problem. (all from the same network)
But you are wanting the print server to send reports to the clients printer accross the internet. Is that right? (amazing what you can learn when you stop to actually read the question).
This should be doable. My HP Jet Direct is listening on port 9100 which I believe is the default. If you are doing a one to one static translation and can ping the printers accross the internet from the HP print server, then you should be able to print to those printers. But I have not tried this before.
Have you already set up NAT for the printers? Have you opened up port 9100 on your firewall? Can you ping the printers?
Also, I don't see how bootp is going to help you unless you had some configuration package to send to the printers. If an IP was all that was needed, 5.0.5 now supports DHCP anyway. But it sounds like your printers are already configured and ready to print.
Dean
But you are wanting the print server to send reports to the clients printer accross the internet. Is that right? (amazing what you can learn when you stop to actually read the question).
This should be doable. My HP Jet Direct is listening on port 9100 which I believe is the default. If you are doing a one to one static translation and can ping the printers accross the internet from the HP print server, then you should be able to print to those printers. But I have not tried this before.
Have you already set up NAT for the printers? Have you opened up port 9100 on your firewall? Can you ping the printers?
Also, I don't see how bootp is going to help you unless you had some configuration package to send to the printers. If an IP was all that was needed, 5.0.5 now supports DHCP anyway. But it sounds like your printers are already configured and ready to print.
Dean
ASKER
My client has opened port 9100, I can telnet to the printer (and run the HP Printer Server Telnet session), and I have also opened port 9101 9102. But the print jobs just sit in the spooler and never make it to the internet jet direct print server.
The nat would be :
Internal 192.168.x.x
External Internet 216.79.110.x
Let me know
The nat would be :
Internal 192.168.x.x
External Internet 216.79.110.x
Let me know
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
I have resolved this issue on my own accord. There was a udp port that had to be opened in order for the print server to send a proper acknowledgememnt back the the unix server for the print job to be routed properly.
Which port and how did you find it? Did the firewall logs reveal the problem? Just courious.
Dean
Dean
ASKER
Ports 9100 9101 9102 and udp 161.
I found this by running a port scanner at both ends of the connection.
I found this by running a port scanner at both ends of the connection.
Print services to an Hp Jet Direct Printer must be configured through the HP Network Print Services Manager. If you have tried configuring printing to an HP Jet Direct printer using 'Print Manager -> Add Remote' or 'mkdev rlp', you must completely remove that configuration, and follow the steps below to properly configure HP Jet Direct Print Services:
1. Open the System Administration folder (or invoke scoadmin from the command line).
2. Open the Printers folder (or choose Printers).
3. Click on HP Network Print Services Manager.
4. Choose 'i' to install network printing.
5. Choose 'n' to install the start up configuration utilities.
6. Choose 'y' to install the spooler utilities.
7. Choose '6' to add printer to spooler.
8. Enter the name of the printer as the lp spooler destination name.
9. Enter the network name of the printer.
At this point, you may get the message:
the ip address was not found for this name. enter name in
/etc/hosts, or update NIS or DNS to resolve the name before
attempting to use this peripheral.
You will need to do this or ensure it has been done after finishing the configuration of print services.
10. Enter the printer model (usually HPLaserJet).
11. Enter spooler class (optional).
12. Enter 'y' if you want this to be the default printer.
13. Press <Enter> and the printer will be added to your system.
14. Enter 'q' to quit.
You may need to change the port number that the printer is listening on if you are use a NetQue or other device. However, if you are using the NIC inside the printer this shoul work.