Downloading The Evfu (Using The Pi Line) - Printronix P7000 Programmer's Reference Manual

Ansi programmer’s reference manual
Hide thumbs Also See for P7000:
Table of Contents

Advertisement

Program Instruction
10 WIDTH "LPT1:",255
20 LPRINT CHR$(27);"[0;1!p";
30 LPRINT "TOP OF FORM"
40 LPRINT CHR$(27);"[0;3!p";
50 LPRINT "LINE 6";
60 LPRINT CHR$(27);"[0;4!p";
70 LPRINT "LINE 25";
80 LPRINT CHR$(27);"[0;5!p";
90 LPRINT "LINE 57";
100 LPRINT CHR$(27);"[0;8!p";
110 LPRINT "END OF FORM";
120 END
The following example illustrates the skip to channel command.
Table 26. Skip To Channel Example
Remarks
Required by some BASIC
languages to avoid auto LF at
column 80
Go to top of form (channel 1)
Print indicated words
Go to channel 3
Print indicated words
Go to channel 4
Print indicated words
Go to channel 5
Print indicated words
Go to channel 8
Print indicated words
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 27. Two Byte Channel Control Code Format
Bit Number
Channel Number
first byte
Downloading The EVFU (Using The PI Line)
8
7
6
5
x
x
6
5
x
x
y
y
Output
4
3
2
1
4
3
2
1
y
y
y
y
73

Advertisement

Table of Contents
loading

Table of Contents