Operating System - HP-UX
1833299 Members
2850 Online
110051 Solutions
New Discussion

query on printer port settings.

 
Jagadesh_2
Regular Advisor

query on printer port settings.

Admins,

We have a UNICENTRE printer server with port ranges from 723 - 728. Unicenter printer server has a common IP with different ports. I need to create print queues in HPUX OS in such a way each queue will point to a particular port.

ex:
ab01 - 723
ab02 - 724

Procedure which i used

I have added the IP and corresponding port numbers in /etc/hosts

xx.xx.xx.xx:723 ab01_host

Hope the above way of adding port numbers is correct. If not pls let me know the correct way.

Start SAM (System Administration Manager).

Select Printers/Plotters.

Select Action from the menu.

For each printer on the NetportExpress PRO print server, select Add a remote printer and fill out the required fields as follows:

Printer Name: The name of the queue you wish to create.

Remote System: The name associated with the NetportExpress PRO print server in the /etc/hosts file.

The print queue is going to disabled state after giving a test print. Not sure what is causing this. Could you please let me know what changes i need to do to fix this?

Many Thanks
4 REPLIES 4
Ralf Seefeldt
Valued Contributor

Re: query on printer port settings.

Hello Jagadesh,
I've never seen a UNICENTRE printer server, but with our HP print servers, we do not define any portnumbers in /etc/hosts. It is all handled by the SAMroutine.

May be you just try configurint it without those ports in /etc/hosts. May be it works, or there will even pop up some additional fields to fill.

I hope, this will help you.

Bye
Ralf
Bill Hassell
Honored Contributor

Re: query on printer port settings.

You will need special software from Unicenter or Intel (for the NetportExpress) as there are only two possible print spooler configurations, remote printer (which you used in SAM) and HP JetDirect LAN cards. Since you're not using the HP cards, remote printing use s port 515, the universal remote printing port and that cannot be changed. Although the NetportExpress box is obsolete, the documentation appears to support only remote printing on port 515.

Now perhaps the term "port" means something different than a TCP/IP port. In any case, I would contact CA/Unicenter support to see if they provide a solution for HP-UX.


Bill Hassell, sysadmin
Jagadesh_2
Regular Advisor

Re: query on printer port settings.

Thanks for the information Bill.

I ve got this information from the local team which support Intelnetport.

III. Configure the NetportExpress XL print server as a remote printer on your HPUX server


On the UNIX host system, add an entry into the /etc/hosts file for each port on the print server you will be using. If using more than one port, each entry will specify a different IP address.

Start SAM (System Administration Manager).

Select Printers/Plotters.

Select Action from the menu.

For each printer on the NetportExpressâ ¢ XL print server, select Add a remote printer and fill out the required fields as follows:

Printer Name: The name of the queue you wish to create.

Remote System: The name associated with the port on the NetPort print server in the /etc/hosts file.

Remote Printer: Must be either TEXT or PASSTHRU (upper case). Use PASSTHRU if you will be printing postscript or graphics jobs and TEXT for text jobs. The TEXT option will insert a form feed after each print job. If the form feed is not needed, use PASSTHRU. Most printers are able to correctly process text jobs using PASSTHRU mode.

Use the LP command to print to the Printer Name you defined in step 5a.
Sharifuddin
Occasional Advisor

Re: query on printer port settings.

Agreed with Bill where most printer server have their own software to control the port.

Normally i just added the ip and hostname in /etc/hosts. In SAM when i added as remote printer the host is same but only the printer queue is different. Example hostname for the printer server as LPONE so the printer queue should be LPONEP1 and LPONEP2.

I used the software to config the port for that printer server. For port 1 it will used printer queue LPONEP1 and port 2 is LPONEP2. These config for remote printer.