Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

SCO UNIX OPENSERVER HP PRINT SERVERS

Posted on 2000-02-25
8
Medium Priority
?
942 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
[X]
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
  • 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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 

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 800 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

705 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