
Technical Updates SNBC CONFIDENCIAL
Shandong New Beiyang Information Technology Co.,Ltd.
Page 46
[Notes]
· Only the lowest bit of n is valid.
· In quadruple-size mode, the printer prints the same size Kanji characters as when
double-width and double-height modes are both turned on.
· When quadruple-size mode is turned off using this command, the following
Kanji characters are printed in normal size.
· All the characters on the line are aligned at the baseline.
·
FS !
or
GS !
can also select and cancel quadruple-size mode by selecting
double-height and double-width modes, and the setting of the last received
command is effective.
[Default]
n = 0
[Reference]
FS !,
GS !
3.
Programming Instructions
3.1 General information
1. The instructions are compiled to help users who use commands to control the printer and
master the command set quickly.
2. All programming examples are given in Hex.
3. Commands cited in the instructions are bolded and underlined. For instance,
1B 40
. Data
following the commands are not underlined. For instance, 42 43..
4.
Contents in parentheses are interpretations of the commands. Parentheses and contents in
them are not parts of the commands transmitted to printer.
3.2 Commands application
The paragraghs below describe most common five sorts of commands detailed in commands set. In
general the process shall be taken in the development as: Initialization
-
> Setting printout
-
and feed paper
-
> Status query. The programmer can refer the commands brief as below to reach his
purpose quickly.
3.2.1 Initialization
1. Initialize
the
printer
1B 40
2. Mode
selection
1B 53
enter standard mode
(
Default
),
1B 4C
enter page mode
3.3.2 Printing settings and printout
(
Characters/barcode/bit image
)
1. The printing area and position setting
a) Horizontal
tab
(
09
)
b) Set horizontal absolute beginning position of the printing
(
1B 24
)
c) Set horizontal tab position
(
1B 44
)
d) Select the printing direction in page mode
(
1B 54 n
)
e) Set the printing area in page mode
(
1B 57
)
f) Set horizontal relative printing position
(
1B 5C nL nH
)
g) Select alignment mode
(
1B 61 n
)
h) Set vertical absolute position in page mode
(
1D 24
)
i)
Set left margin
(
1D 4C
)