CBM-270 User’s Manual
ESC @
[Function] Initializing the printer
[Code] <1B> H <40> H
[Outline] Clears data stored in the print buffer and brings various settings to the initial state (Default
state).
[Caution] Data inside the internal input buffer are not cleared.
Dip switches setting are red once again.
[Sample Program] [Print Results]
LPRINT CHR$ (&H1B) ; " ! " ; CHR$ (&H30) ;
LPRINT CHR$ (&H1B) ; "V" ; CHR$ (1) ;
LPRINT "AAA" ; CHR$ (&HA) ;
LPRINT CHR$ (&H1B) ; "@" ;
LPRINT "AAA" ; CHR$ (&HA) ;
ESC D [ n ] k NUL
[Function] Setting horizontal tab position
[Code] <1B> H <44> H [<n>] k <00> H
[Range] 1 n 255
0 k 32
[Outline] Specifying a horizontal tab position.
"n" indicates the no. of columns from the beginning to the horizontal tab position. At this
time, n= set position 1 is to be specified. For example, to set the position at 9th column,
n=8 is to be specified.
k denotes the number of horizontal tab positions you want to set.
T he ta b posit ion is set at posi ti on wher e i t is "c har ac t er wi dt h x n" from the l i ne be gi nni ng.
T he char ac t er wi dt h, at this ti me , inc ludes the ri ght wa r d spa ce am ount . In doubl e wi de
c ha ra c te rs, i t is ma de doubl e of the ordi na ry ca se .
Tab positions can be specified are maximum 32. Specifying exceeding this is ignored.
<n> k, which denotes a setting position, is input in the increasing order and ends at <00>
H.
ESC D NUL clears all the set tab positions. Following clearing, horizontal tab command
is ignored.
[Caution] When the data, <n> k, is equal to or smaller than its preceding data, <n> k-1, it is assumed
that tab setting is finished. If this is the case, the next data onward will be processed as
normal data.
When the data, <n> k, exceeds a 1-line print area, set the horizontal tab position, assuming
"Set digit position = Maximum print digits + 1." The horizontal tab position does not change
even if the character width is altered after setting the horizontal tab position.
[Default] Initial value is specified for each eight characters(9th.17th.25th.33rd columns) of Font A.
[See Also] HT
[Sample Program] [Print Results]
See Sample Program and Print Results for HT on Page 46.
ESC E n
[Function] Specifying/Canceling highlighting
[Code] <1B> H <45> H <n>
[Outline] Specifying/canceling the highlighting characters.
"n" is valid only for the lowest bit (n0).
Each setting has been
initialized by the reset
command.