Ricoh InfoPrint Pro C900AFP InfoPrint Manager - Page 208
Machine carriage control characters, What are variable-length and fixed-length files?
View all Ricoh InfoPrint Pro C900AFP manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 208 highlights
Table 21. ANSI carriage controls (continued) ANSI Action + 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). Machine carriage control characters Machine carriage controls were originally the actual hardware control commands for printers, and are often used on other systems. Machine controls are binary values, not symbols. They are not represented as characters in any encoding and, therefore, machine controls cannot be translated. Some typical machine controls are listed in Table 22. Table 22. Machine carriage control characters Machine Action X'09' Print the line and single space X'11' Print the line and double space X'19' X'01' Print the line and triple space Print the line (do not space) X'0B' Space one line immediately (do not print) X'89' Print the line, then skip to channel 1 (top of form) X'8B' Skip to channel 1 immediately (do not print) Machine controls print before performing any required spacing. There are many more machine control commands than ANSI. Carriage controls can be present in a file, but to use carriage controls at all, every record in the file must contain a carriage control. If the file contains carriage controls but the line2afp command keyword and value cc=no is specified, the carriage controls are treated as printing characters. If no carriage controls are specified, the file prints as though it were single spaced. What are variable-length and fixed-length files? The line-data transform program needs to know two things about a file to transform it: v The length of each print record v The kind of carriage control used Some files contain information in each record that describes the record length; these are called variable-length files. Other files require an external definition of length; these are called fixed-length files. 190 InfoPrint Manager for Windows: Procedures