ESC@
ESC \
Select Control-Value Data Type
Format: ESC @;n;
Sets the control-value data type to binary if
n is
°
and to ASCII if n is 1.
If
binary is
selected, values following the ESC code
must be coded as CHR$(n); no separator is
required between values, and NUL is the
~
command terminator.
If
the ASCII
data-type is selected, values following the
ESC code are coded as n; the comma is
used to separate values, and the ampersand
is the command terminator.
For example, to set margins at columns
10
and 80 with the binary data type selected,
the command would be coded:
LPRINT CHR$(27);CHR$(64);
CHR$(10); CHR$(80);.
With the ASCII data type selected, the
same command would be coded:
LPRINT CHR$(27);"X,10,80,"
Note: The Color Printer operates only
on the least significant bit of n.
Therefore, any odd-numbered ASCII
decimal value gives the same result as
n= 1, and any even-numbered ASCII
decimal value gives the same result as
n=O.
LPRINT CHR$(27);CHR$(64);CHR$(n);
Print All Characters
Format: ESC \;n
I
;n2;
Allows the printing of characters with an
ASCII decimal-value below 32. (see "All
Printable Characters") These ASCII values
are normally recognized by the printer as
control codes.
1-120 Color Printer
Need help?
Do you have a question about the Personal Computer AT and is the answer not in the manual?