Asynchronous Terminals and Printer Processes Programming Manual
 PRINTER PROGRAMMING CONSIDERATIONS
 Form Control
 FORM CONTROL
 Application programs using 5573, 5512, or 5515/5516 printers can |
 use escape sequences for form control. However, for 5508, 5520, |
 5530, and 5540/5541 printers, application programmers should use |
 CONTROL or SETMODE for form control instead of attempting to |
 embed control characters and escape sequences in the print
 line. When the model 5520 encounters an invalid escape sequence,
 it converts the entire sequence to spaces and then prints
 it. When the 5530 encounters an invalid escape sequence, it
 converts unprintable characters to spaces (leaving the printable
 characters as they are) and then prints the sequence.
 Top of Form
 To allow the operator to manually install and align a special
 form, the file system does not automatically set the paper to the
 top of form for most printers at file open time. However, the |
 file system automatically sets top of form at file open time for |
 5512, 5515/5516, and 5573 printers. |
 Position the paper at top of form as follows:
 LITERAL FORMS^CTRL = 1,
 TOF = 0,
 SKIP^ONE^HALF = 5;
 .
 .
 CALL OPEN ( PTR^FNAME, FILE^NUM, EXCL^ACC );
 IF < THEN ... ; ! error
 CALL CONTROL ( FILE^NUM, FORMS^CTRL, TOF );
 .
 Overprinting
 SETMODE 6 controls overprinting. To overprint a single line
 (without using the transparency parameter), use the following
 calls to SETMODE and WRITE:
 LITERAL SET^SPACE = 6,
 NO^SPACE = 0,
 SPACE = 1;
 .
 ! turn off single spacing
 November 1987 7-3










