
LAT Host Setup
Printing from LAT
9-3
For example, if you want to create a new LAT device LTA1234 that accesses print service printer1
on the ETS named server1 using VMS queue remote_prq, enter the commands shown in Figure 9-8.
Figure 9-8: Creating LAT Device
The ETS name must match the name in the /Node field in the LATCP Set Port command shown
above. The service names specified must also match. In addition, you may want to use the following
commands on the ETS to set up terminal characteristics for the print device.
Figure 9-9: Setting Up Terminal Characteristics
3
Create and start a VMS queue.
Figure 9-10: Creating and Starting VMS Queue
4
Print to the queue.
Figure 9-11: Print Request
9.1.3 Printing PostScript
Using PostScript printers with LAT queues adds two extra steps to the host queue setup: creation of a
PostScript form and a reset module. The reset module will contain the Ctrl-D (ASCII 0x4) that the printer
needs to finish and eject the job.
1
Create the PostScript form using the following commands where formnum is any unused form num-
ber.
Figure 9-12: Creating a PostScript Form
Note:
Use Show Queue/Form/All to see the form numbers that are currently in use.
In the figure above, the width setting prevents the spooler from truncating long (but legal) PostScript
command lines.
2
Create the reset module (a file named a file named EOJ.TXT) using a text editor. Place a Ctrl-D in
this file and insert it into the system device control library.
Figure 9-13: Creating Reset Module
$ RUN SYS$SYSTEM:LATCP
LCP> CREATE PORT LTA1234/APPLICATION
LCP> SET PORT LTA1234/NODE=server1/SERVICE=printer1
LCP> EXIT
$ SET TERM/PERM/NOBROAD/FORM/WIDTH=132 LTA1234
$ INIT/QUEUE/START/ON=LTA1234:/PROCESSOR=LATSYM/RETAIN=ERROR
remote_prq
$ PRINT/QUE=
remote_prq filename.txt
$ DEF/FORM POSTFORM formnum /STOCK=DEFAULT/WIDTH=4096/WRAP
$ library/replace sys$library:sysdevctl.tlb eoj.txt