Printronix ANSI Printer Manual De Usuario

Descargar
Página de 106
Downloading The EVFU (Using The PI Line)
 71
The following example illustrates the skip to channel command.
NOTE: Set the top-of-form first. When you execute the EVFU, the paper will 
move to the top-of-form on the next page and then begin printing.
Downloading The EVFU (Using The PI Line)
The PI-EVFU is identical to the ESC sequence-EVFU, except for the EVFU 
load and command sequences. The PI-EVFU is used exclusively with the 
Dataproducts parallel interface option.
NOTE: The PI-line must be enabled in the interface menu.
Start load command:6C (hex) selects 6 LPI linespacing
6D (hex) selects 8 LPI linespacing
6E (hex) selects current linespacing
End load command:6F (hex)
The format of the two byte channel control code is shown in Table 27.
Table 26. Skip To Channel Example
Program Instruction
Remarks
Output
10 WIDTH “LPT1:”,255
Required by some BASIC 
languages to avoid auto LF at 
column 80
20 LPRINT CHR$(27);“[0;1!p”;
Go to top of form (channel 1)
30 LPRINT “TOP OF FORM”
Print indicated words
40 LPRINT CHR$(27);“[0;3!p”;
Go to channel 3
50 LPRINT “LINE 6”;
Print indicated words
60 LPRINT CHR$(27);“[0;4!p”;
Go to channel 4
70 LPRINT “LINE 25”;
Print indicated words
80 LPRINT CHR$(27);“[0;5!p”;
Go to channel 5
90 LPRINT “LINE 57”;
Print indicated words
100 LPRINT CHR$(27);“[0;8!p”;
Go to channel 8
110 LPRINT “END OF FORM”;
Print indicated words
120 END
Table 27. Two Byte Channel Control Code Format
Bit  Number
8
7
6
5
4
3
2
1
Channel  Number
x
x
6
5
4
3
2
1
first  byte
x
x
y
y
y
y
y
y