Chapter 2 Configuring the P-Series Emulation with Control Codes

Forms Length Set (Lines)

ASCII Code SFCC LINES;n

Purpose Sets the length of a form (paper) in lines.

where: n = 1 through 192 (hex 01 through C0) to specify the number of lines per page at the current line spacing.

Comment The forms length is set to the number of lines defined by the quotient of n and the current line spacing so that the units are in inches.

In LINES mode, the maximum form length is 24 inches, and n values in excess of 24 inches causes an error message. (Command Line Error Messages are listed in Table 2 on page 27.)

If the calculated forms length in lines is not an exact multiple of the target machine dot size, the forms length value is adjusted down to the next possible multiple.

If the VFU is enabled and loaded, this command is ignored.

Form Margins, Set

ASCII Code SFCC v n1 n2 n3 n4

Hex Code SFCC 76 n1 n2 n3 n4

Dec Code SFCC 118 n1 n2 n3 n4

Purpose Selects left (n1), right (n2), top (n3), and bottom (n4) form margins.

where: n1 = The width of the left margin (hex value) in character columns at the current cpi. If the requested margin is larger than the current (form width - right margin), the value is ignored.

n2 = The width of the right margin (hex value) in character columns at the current cpi. If the requested margin is larger than the current (form width - left margin), the value is ignored.

n3 = The length of the top margin (hex value) in character lines at the current lpi. If the requested margin is larger than the current (form length - bottom margin), the value is ignored.

n4 = The length of the bottom margin (hex value) in character lines at the current lpi. If the requested margin is larger than the current (form length - top margin), the value is ignored.

Comment A hex value of FF for n1, n2, n3, or n4 indicates that the margin remains unaffected.

When set, the right and bottom margins take effect immediately. The left margin takes effect for the current line only if no horizontal motion has occurred for the line; otherwise, it takes effect on the next line. The top margin always takes effect on the next form.

44

Page 44
Image 44
IBM 4400 manual Forms Length Set Lines, Form Margins, Set, Ascii Code Sfcc LINESn, Ascii Code Sfcc v n1 n2 n3 n4