Lantronix MPS100 EPS Reference Manual - Page 103

Printing PostScript

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

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223

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 Server named
server1
using VMS queue
remote_prq
, enter the commands shown in Figure
9-8.
Figure 9-8:
Creating LAT Device
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
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.
$ 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