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:
The print task is the first for that terminal printer (even if Direct Printing is set)
TPS detects an error
The terminal printer is busy or offline
AUTO- is set in TPS
BACKUP+ is set in TPS
GLB.BACKUP is set to Y in Report logic
GLB.LINEUP is set to Y in Report logic
GLB.PRIV is set to non-zero in Report logic, and is less than the Security setting for the terminal printer (for more details see Report Output Security with TPS)
GLB.TPGROUP is set to non-spaces in Report logic
Printing Reports Directly to a Terminal Printer
Report output is sent directly to a terminal printer if all of the following conditions are true:
The terminal printer is not busy nor offline
AUTO+ is set in TPS
BACKUP- is set in TPS
GLB.BACKUP is set to N in Report logic
GLB.LINEUP is set to N in Report logic
GLB.TPGROUP is not set in Report logic
GLB.PRIV is not set in Report logic, or is greater than or equal to the Security setting for the terminal printer (for more details see Report Output Security with TPS)
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.