Lantronix MPS100 EPS Reference Manual - Page 103
Printing PostScript
View all Lantronix MPS100 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 103 highlights
LAT Host Setup Printing from LAT For example, if you want to create a new LAT device LTA1234 that accesses print service printer1 on the Server named server1 using VMS queue remote_prq, enter the commands shown in Figure 9-8. Figure 9-8: Creating LAT Device $ RUN SYS$SYSTEM:LATCP LCP> CREATE PORT LTA1234/APPLICATION LCP> SET PORT LTA1234/NODE=server1/SERVICE=printer1 LCP> EXIT The Server 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 Server to set up terminal characteristics for the print device. Figure 9-9: Setting Up Terminal Characteristics $ SET TERM/PERM/NOBROAD/FORM/WIDTH=132 LTA1234 3 Create and start a VMS queue. Figure 9-10: Creating and Starting VMS Queue $ INIT/QUEUE/START/ON=LTA1234:/PROCESSOR=LATSYM/RETAIN=ERROR remote_prq 4 Print to the queue. Figure 9-11: Print Request $ PRINT/QUE=remote_prq filename.txt 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 number. Figure 9-12: Creating a PostScript Form $ DEF/FORM POSTFORM formnum /STOCK=DEFAULT/WIDTH=4096/WRAP 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. 9-3