Examples - QMS SmartWriter 80+ User Manual

Table of Contents

Advertisement

must always be used in pairs.
The printer will take the value in
Xl
and "change" it to
the value in
X2.
If a decimal 66 (upper case B) is in
Xl
and a decimal 67 (upper case C) is in
X2,
the printer
would change BAT to CAT. When BAT was received by
the printer, the decimal 66
(B)
was changed to a decimal
67 (C).
This same "switching" occurs for whatever values
you place in the pairs
X3; X4
and
Xs ; X6.
WARNING: When redefining the command transla-
tion table, never enter 27 in
Xl,
X3
f
or
Xs.
This
would have serious consequences for your printer or
software.
Valid values for the three paired parameters are the deci-
mal values 0 through 255.
H.7
Examples
LPRINT CH.R$ (27) ;" [0; 0; 94; 10
... "
redefines the com-
mand translation table and causes the printer to interpret
every
A
it receives from the computer as the control char-
acter <LF> (Line Feed).
LPRINT CH.R$ (27) ;" [0; 2
..
If
stores the command trans-
lation table (and any changes to it that are in effect) into
the printer's ZPRAM. Whenever the printer is turned on,
the ZPRAM initializes the printer.
LPRINT CH.R$ (27) ; " [1; 0; 91; 228; 93; 235
... "
redefines
the font translation table and causes the printer to interpret
every left bracket character it receives from the computer
as
Ii
and every right bracket character as
e.
4-16
Software Commands
\

Advertisement

Table of Contents
loading

Table of Contents