CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS)
B-EP
Series
7-57
7.13 EXAMPLES
7.13.1 EXAMPLES OF USING COMMANDS
[Examples of transmitted data]
Command/Print
data
Result
1)
[ESC] 3 [20H]
Setting the length of a line feed (32 dots)
ABC [LF]
Printing characters and a line feed
2)
[ESC] a1ABC [LF]
Alignment of the print position (Center) + Printing and a line feed
3)
[ESC] a0ABC
Alignment of the print position (Left)
[ESC] a2DEF [LF]
Alignment of the print position (Right) + Printing and a line feed
4) [LF]
Line
feed
5)
[ESC] a0
Alignment of the print position (Left)
AB
Printing characters (1x1 magnification)
[ESC] ! [10H] AB
Printing characters (1x2 magnification)
[ESC] ! [20H] AB
Printing characters (2x1 magnification)
[ESC] ! [30H] AB
[LF]
Printing characters (2x2 magnification)
Printing and a line feed
Paper feed direction
Effective print width (Width of head)
A B C
1) Setting the length of a line feed and printing
characters
Width of receipt
A B C
A B C
D E F
AB
AB
* 5 4 3 2 1
G H I J K
Graphic
4 9 4 0
0 4 5 8
2) Aligning characters at the center
3) Aligning characters on the left and the right
4) Line feed only
5) Including
characters which have different
magnifications together.
6) Printing a barcode
7) Including graphics and characters together.
8) Printing a barcode (Aligning at the center)