NBSpool for MPE Reference Guide

NBSpool Output Commands
3-63
PRINT
The
PRINT
command allows a user to print a spool file on a printer attached to a local terminal or
PC. Every attempt has been made to reproduce the output of normal line printers on local printers.
Most carriage control directives are translated to the appropriate line and form feed commands. In
normal operation, the
PRINT
command will purge a spool file once a copy has been successfully sent
to a printer. The
SAVE
or
NEWPRI
parameters will override this default. Also, the
COPIES
parameter
will cause multiple copies to be printed. As a spool file is printed, the percentage completed will be
updated after every 8 KB. Spool files smaller than this will always show
0%
complete.
PRINT Set Up and Control
The
PRINT
command uses the built in functionality of HP terminals and PC-based terminal
emulators to send a spool file to a printer attached to the terminal or PC. Before this command can
be used, the terminal must be configured as follows:
The
to devices
must be set properly under the
device control
menu. See the terminal or emulator
software manual for more details.
The printer must be properly configured.
The printer must be turned on. If it is not turned on, the terminal may not be able to determine if
it is online or not.
The user must be logged on with
TERM=
10
or
TERM=
24
.
To print graphics, disable
ENQ/ACK
.
To stop printing in progress, you must press
Return
during the print operation. This will cause
some data to echo to the terminal.
Printer Definitions allow more control over the specific features of a printer. For example, HP
LaserJet printers can print in compressed or landscape mode by sending the proper PCL sequences.
The
PRINTDEF
program will allow new printer definitions to be added. Currently the following
definitions are supplied:
Printer Definitions Description
LJ
Print
80
column portrait
LJ132
Print
132
column portrait
LJ8LPI
Print
132
column portrait,
80
lines per page
LJLAND
Print
132
column landscape,
45
lines per page
RAW
Passes spool files with HP 3000 escape sequences, does not do PCL
conversion