Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

SCO UNIX OPENSERVER HP PRINT SERVERS

Posted on 2000-02-25
8
929 Views
Last Modified: 2013-12-05
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......
0
Comment
Question by:r_horton
  • 4
  • 4
8 Comments
 
LVL 2

Expert Comment

by:dgrimes
ID: 2565553
To configure print services to an ethernet printer that is a node on the network (SCO only supports HP Jet Direct ethernet printers), follow the instructions included below.
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.
0
 

Author Comment

by:r_horton
ID: 2566141
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
0
 
LVL 2

Expert Comment

by:dgrimes
ID: 2566475
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
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

Author Comment

by:r_horton
ID: 2566838
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

0
 
LVL 2

Accepted Solution

by:
dgrimes earned 200 total points
ID: 2566888
Have you checked syslog to see if the system is logging anything? Also, have you check your firewall logs to see if the system is even making an attempt to get past the firewall? If so, have you check the client firewall logs? Have you tried setting one of the client printers as the default printer (just for testing purposes)?

Dean
0
 

Author Comment

by:r_horton
ID: 2585531
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.
0
 
LVL 2

Expert Comment

by:dgrimes
ID: 2587758
Which port and how did you find it? Did the firewall logs reveal the problem? Just courious.

Dean
0
 

Author Comment

by:r_horton
ID: 2589425
Ports 9100 9101 9102 and udp 161.
I found this by running a port scanner at both ends of the connection.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SSH commands for Nas4free 21 461
Linux :how to provide sudo access to the user 13 106
looking for unix program to search some keywords in side EAR WAR and JAR files 10 99
awk sed 8 65
When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question