Copyright © Cloud Software Group, Inc. All Rights Reserved |
An integer specifying the line on which to place the page number string. Its syntax is B (binary) with length 2. The character string to be printed flush left. Its syntax can be C (fixed-length character string), V (variable-length character string), or W (double-byte character). The character string to be printed centered on the page. Its syntax can be C, V, or W.
•
•
• The percent sign (%) indicates the position of the page number within a string. Only the leftmost percent sign is considered.
• line _number can take on values greater than or equal to 0 and less than or equal to length - 1 (where length is the value specified in $SETPRINT or $RESETPRINT).
• If line _number is 0 and no other argument has a percent sign (%), the page number line is not printed.
• line _number is relative to the top of the page if it is 0 or positive; it is relative to the bottom of the page if it is negative.
• If line _number is 0, the page number line does not interfere with title line; the page number line is printed on the first physical line and the title line is printed on the second physical line. If line _number is a value other than 0, the page number line takes precedence over conflicting title lines and the page number line is printed while the title line is not.
• The page number line cannot be directly reset to anything other than 0. To reset the page number line to a value other than 0, first reset it to 0, and then reset it to the desired value.
This exception is raised if $SETP#POS is not preceded by a call to $SETPRINT or $RESETPRINT, or if the absolute value of line_number is greater than or equal to length - 1 (where length is the page length set by $SETPRINT or $RESETPRINT) or 29, whichever is less. The combined length of character strings exceeds width (where width is the page width set by $SETPRINT or $RESETPRINT) or 132, whichever is less.
Copyright © Cloud Software Group, Inc. All Rights Reserved |