PRTOV (Printer Overflow Control) Macro

The macro is used with a printer file to specify the operation to be performed when a carriage overflow condition occurs during the last PUT.

To use this macro, the PRINTOV=YES operand must be included in the DTFPR macro.

Format

Read syntax diagramSkip visual syntax diagramnamePRTOVfilename(1),912, routine_name,(0)

Requirements for the caller

AMODE:
24
RMODE:
24
ASC Mode:
Primary

Parameters

filename | (1)
This operand is required. It must be the same as the name of the DTFPR macro for the printer file. You can code the operand as a symbol or in register notation.
9 | 12
This operand is required. It specifies the number of the carriage control channel (9 or 12) used to indicate the overflow. When an overflow condition occurs, IOCS advances the printer carriage to the first printing line on the form (channel 1), and normal printing continues.
routine-name | (0)
Specify this operand only if you prefer to branch to your own routine on an overflow condition, rather than skipping directly to channel 1. It specifies the name of the routine, as a symbol or in register notation. However, the name should never be preloaded into register 1.

If you specify this operand, IOCS does not advance the carriage to channel 1.

Return from the overflow routine via register 14.