ANSI carriage control characters
The most universal carriage control is ANSI, which consists of a single character that is a prefix for the print line. The standard ANSI characters are listed in ANSI carriage controls.
ANSI carriage controls
ANSI | Action |
---|---|
space | Single space the line and print. |
0 | Double space the line and print. |
- | Triple space the line and print. |
+ | Do not space line and print. |
1-9 | Skip to a vertical position on the page as defined by a vertical tab record ( which is either printer- or system-dependent) or by a Page Definition. |
A,B,C | Skip to a vertical position on the page as defined by a vertical tab record ( which is either printer- or system-dependent) or by a Page Definition. |
All ANSI control characters perform the required spacing before the line prints. Using line2afp command keywords and values, ANSI controls might be encoded in EBCDIC (cctype=a) or in ASCII (cctype=z).