Printing with TPS

Note: Do not confuse TPS backup files with standard printer backup (BD) files.

Terminal printer Report output is sent to TPS backup files by default, before printing. Certain Global System Data Items may be set in Report logic, and TPS commands may be used, to determine whether Report output is to be sent to a TPS backup file or directly to the printer. These settings and conditions are summarized as follows.

Printing to TPS Backup Files

Report output is sent to a TPS backup file if any of the following conditions are true:

Printing Reports Directly to a Terminal Printer

Report output is sent directly to a terminal printer if all of the following conditions are true:

TPS Backup File Names

TPS backup files are named as follows:

TP nnnn [ON pack ]

The nnnn value is the TPS backup file number in the range 0001 through 9999. The pack value is the pack on which the file resides (as specified with the BACKUP command). If omitted, the family pack of the user initiating spooler is used.

Specifying the TPS Backup File Pack

To specify the TPS Backup pack, from TPS, enter:

BACKUP pack

You can change the backup pack at any time TPS is running. However, to explicitly print any files not resident on the current backup pack, you will have to specify the pack name. For more details, see “Printing TPS Backup Files Not on Current Backup Pack”, later in this section.

Printing TPS Backup Files Not on Current Backup Pack

To print files not resident on the current backup pack, use the TPS POSITION command specifying the pack, as follows.

POSITION ...... ON pack

For more details, see the POSITION command, in TPS Commands.

Printing TPS Backup Files Not in the TPS Index

To print TPS backup files not currently in the TPS index, use the TPS ADD command to enter them to the index. For more details, see the ADD command, in TPS Commands.