AMT Datasouth 41AY89AR777 User Manual

Page 100

Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".

Advertising
background image

ESC “K” sets graphics mode to single density graphics (816 dots per 13.6 inch
line).

Format: ESC “K” N1 N2
Line Length = N1 + (N2 X 256)
0 < N1 < 255
0 < N2 < 7 (Modulo 8, or 8 = 0)

ESC “L” sets graphics mode to double density graphics (1632 dots per 13.6 inch
line).

Format: ESC “K” N1 N2
Line Length = N1 + (N2 X 256)
0 < N1 < 255
0 < N2 < 7 (Modulo 8, or 8 = 0)

ESC A CHR$ (n) - selects vertical line spacing in whole dot increments.
Substituting an 8 for n will advance the paper 8/72 inch or by 8 dots.

ESC 3 CHR$ (n) - selects vertical line spacing in 1/3 dot increments roimded up
to the nearest 1/2 dot. Substituting an 8 for n will advance the paper by 3 dots.
(8/216 inch = 2 2/3 dots which is roimded up to 3 dots).

ESC$ N V - selects vertical line spacing in 1/2 dot increments. Substituting an 8
for N will advance the paper by 8/214 inch or by 4 dots.

The information to print Figure 4.9 can now be sent to the printer. The first line
of Figure 4.9 contains 16 columns (or graphics bytes), therefore N1 will have a
value of 16 and N2 a value of 0.

NOTE

Before sending the escape sequence to enter graphics,

Feature Number 13 must be set to 6.

The sequence to enter single density graphics and specify 16 columns of graphics
will be CHR$(27);"K";CHR$(16);CHR$(0);. The value of each of the 16
columns in line 1 will immediately follow this sequence. If the value for each
column is entered individually it will appear as follows:

CHRS(25S) ;CHR$(0) ;CHR$(0) ;CHR$(0) ;CHR$iO) ;CHR$(2SS) ;CHR$(255) ;CHR$(2SS) ;

CHR$C255> ;CHR$(255) ;CHR$(2SS) ;CHR$(192) ;CHR$(48) ;CHR$(12) ;CHR$(2) ;CHR$(1) .

The graphics line is ended with a carriage return and line feed. Line 2 contains 26
columns so N1 would have a value of 26 and N2 a value of 0. To print line 2 the
printer must be instructed to re-enter graphics mode by sending
CHR$(27);"K";CHR$(26);CHR$(0); which is immediately followed by the
graphics data for line 2. Line 2 is terminated with a carriage return and line feed
and the procedure is repeated for lines 3,4 and 5.

4-41

Advertising
This manual is related to the following products: