Solved

SCO UNIX OPENSERVER HP PRINT SERVERS

Posted on 2000-02-25
8
925 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
 

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
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

759 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now