Printers
Supply a TERMINAL definition for each printer.
Specify NO for AUTINSTMODEL, unless you are using autoinstall for printers. (For more information about this, see Autoinstall and output-only devices.)
- ALTPAGE
- For BMS, the PAGESIZE attribute determines the default page size,
and also the size of the print buffer. You specify the number of lines
in the page (the length) and the number of characters in each line
(the width).
Another attribute, ALTPAGE, indicates the page size to be used when the alternate screen size (ALTSCREEN) is selected. The width you specify in ALTPAGE must be the same as the width specified in the ALTSCREEN attribute. However, the length of ALTPAGE and ALTSCREEN can be different. This could be useful if you are using the same BMS map to display and to print. For instance, you could make the screen one line longer than the page, to reserve the last line of the screen for error messages.
The ALTPAGE, DEFSCREEN, and ALTSCREEN attributes do not normally apply to printers.
- AUTOPAGE
- AUTOPAGE must be YES for printers, but you do not need to worry
about it, because RDO fills it in for all printer DEVICE types. Autopaging
means that BMS multiple page messages are printed continuously, without
operator intervention. This is what is normally required for a printer.
(Contrast the requirement for multiple page messages, displayed on
a 3270-type display, when the operator wants to finish reading a page
before requesting the next page.)
Only BMS SEND commands with the PAGING option use autopaging. BMS SEND with TERMINAL or SET does not use autopaging.
You need at least one TYPETERM definition for each type of printer you use. You may need more, if you want to allow printers to be used only for some functions and not for others.
- DEVICE
- The TERMINAL definition for each printer must refer to a TYPETERM
with an appropriate DEVICE type. The DEVICE attribute and, in one
case, the SESSIONTYPE attribute, determine whether a TYPETERM defines
printers or display devices. The values that you can specify for printers
are:
DEVICE SESSIONTYPE Printers 3270P - All printers that support the 3270 data stream (not SNA-connected). LUTYPE3 - All printers that support the 3270 data stream (SNA-connected). SCSPRINT - All printers that support the SNA character set (SNA-connected). 3790 SCSPRINT IBM® 3793 keyboard-printers that support the SNA character set (SNA-connected). - FORMFEED
- Define FORMFEED as YES for BMS page building.
- PAGESIZE
- specifies the default page size for this terminal. The product
of lines and columns must not exceed 32767, where lines =
the number of lines in the page, and columns = the number of
characters in each line. If PGESIZE is not coded, the following defaults are used:
TW33, TW35 (12,80) 3270 display model 1 (12,40) 3270 display model 2 (24,80) 3270 printer (12,80) - TERMINAL
- The name of the printer is the TERMINAL name on the resource definition
for that printer. Note: The PRINTER attribute is used on a display device definition to refer to a printer device to be used for output from the display. Do not specify PRINTER on the printer definition. See Associating printers with display devices.