Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

How to create lpt port

 
judge kumar ray
Occasional Visitor

How to create lpt port

how i creat lpt port for print job in open vms
4 REPLIES 4
labadie_1
Honored Contributor

Re: How to create lpt port

Hi

It depends, you have many symbionts available in VMS.

If you use LPD, just run the config tool, and answer the questions (the most important being the printer name and IP address)
$ mc tcpip$lprsetup
(needs to enable and start LPD before, with @sys$startup:tcpip$config).

You can also use

TELNETSYM
http://h71000.www7.hp.com/doc/83final/6526/6526pro_055.html#index_x_1046


DCPS
http://www.openvms.compaq.com/doc/dcps24.html

LAT
http://pi-net.dyndns.org/docs/openvms0732/732final/aa-pv5nh-tk/00/01/131-con.html
...

Joseph Huber_1
Honored Contributor

Re: How to create lpt port

If the term "lpt port" means a printer connected to the parallel port, then the LPR/LPD or any other network printer protocol is not the solution.

Does Your VMS system have a parallel port ?
use SHOW DEVICE LR: to check.
If yes, then in the simplest form, define a print queue feeding the parallel port:

$INITIALIZE/QUEUE/DEVICE=PRINTER/PROCESSOR=PRTSMB/ON=LRA0: LPT
$ DEFINE /SYSTEM $PRINTER LRA0:
$ SET PRINTER /NOWRAP /NOTRUNCATE /CR /POLLED $PRINTER
$ SET DEVICE /SPOOLED=(LPT, SYS$SYSDEVICE:) $PRINTER
$ START /QUEUE LPT

$! see HELP SET PRINTER how to set printer characteristics.
$! see HELP INITIALIZE /QUEUE

A PRINT/QUEUE=LPT will send the file to the LR: port.

Now depending on the printer type (Postscript,PCL,...?), You will need a symbiont other than PRTSMB to handle different data-types.
As far I know, DCPS does not support unidirectional LR: devices (but maybe I'm not up to date).
For postscript printers, there is the freeware LASER symbiont available on the VMS freeware.
http://www.mpp.mpg.de/~huber
Highlighted
Joseph Huber_1
Honored Contributor

Re: How to create lpt port

Sorry, please forget the LASER symbiont I mentioned: it works only with bi-directional interfaces, not LR:

http://www.mpp.mpg.de/~huber
Hoff
Honored Contributor

Re: How to create lpt port

The TCP/IP Services IP stack product documentation is here:

http://www.hp.com/go/openvms/doc

Navigate to the IP shelf, and open and search the "HP TCP/IP Services for OpenVMS Management" manual for details of doing this with TCP/IP Services IP stack.