Operating System - HP-UX
1836051 Members
2650 Online
110089 Solutions
New Discussion

ENVIZEX II - Serial Printer connection

 
SOLVED
Go to solution
Roberto De Gioia
Occasional Contributor

ENVIZEX II - Serial Printer connection

I would like to connect a serial printer to the serial port into the x-terminal EnvizexII and redirect the output from the server (HP-UX 10.20) to this terminal. The command rlp (send LP line printer request to a remote system) could be a solution? I tried to use it but the main problem is that you have to define the "Printer Name". The SW version installed are: HP-ENWARE 7.05 / NETSTATION 9.11.
I will appreciate all suggestions!!!!
You can dream anything, if you want....
3 REPLIES 3
Alex Glennie
Honored Contributor

Re: ENVIZEX II - Serial Printer connection

Envizex II and Entria II terminals require the "Remote Port Extension" to be
enabled in order to allow remote TCP access to the Serial and Parallel Ports.
This would be required when attaching a printer, for example.

Resolution

To remotely access the serial/parallel ports on EnvizexII/EntraII the "Remote
Port Extension" must be enabled.

This can be done in one of 3 ways:

1) Edit the "directives" file, enabling the auto-load of the extension:

File: /opt/hpxt/enware2/xthome/bin/directives

auto extension Remport = drvr/remportExt .....

2) Via the terminal configuration screens:

Hold F12 until config screen is displayed, then:

[Terminal]->[Extensions]

Select: "Remote Ports Extension"
Click: [Load Now] and [Load Next Boot]

3) Enable the extension via a remote config file.

File: /opt/hpxt/enware2/config/.cfg

LoadExtensions = Remport


To verify functionallity:

telnet

Where port is: 9100 (1st serial port)
9101 (parallel port)
9102 (2nd serial port)

If the connection is established, the extension is working.

Does the above work, been done ?

nb you only need the Netstation 9.11 S/W for Envizex and Entria II models, the older 7.xx S/W is for Entria and Envizex i,p, & a series etc ... however if you have a mixed enviroment you'll need both !
Roberto De Gioia
Occasional Contributor

Re: ENVIZEX II - Serial Printer connection

Thanks for your prompt reply!!!
I just tried with your instruction and it is ok. The only thing that is still not clear is:how I can connect the xterm/port print spooler in order to send the print request into this xterminal?
I tried to configure the printer as follow:
1)Printer name= TEST
2)Remote System Name=xterm1
3)Remote Printer Name=9100
I am almost sure that my idea is wrong....
Please let me know how I can handle this matter...
Thank you, Roberto
You can dream anything, if you want....
Alex Glennie
Honored Contributor
Solution

Re: ENVIZEX II - Serial Printer connection

Try using SAM, => HP Netsation Admin => Printers + plotters => add printer etc ...

Let me know how you get on if you have problems, you could just use xtadm from the command line ... you get the same tui interface in the end

Good Luck !