Star Micronics CBM-820 Printer User Manual


 
34
9. Print Control Functions
This printer supports one command mode: the ESC/POS mode.
The ESC/POS mode emulates the Epson TM-295 slip printer.
This chapter provides you with all of the commands supported by this printer.
9.1 List of ESC/POS Commands
Command Function Code
Standard
Mode
Page
Mode
Page
HT Horizontal Tab 09H
37
LF Line Feed 0AH
37
FF Prints and Ejects Single Sheet, and Prints and
Returns in Paper Mode
0CH
38
DLE EOT Sends Status at Real Time 10H 04H n
39
CAN Cancels Print Data in Page Mode 18H Disabled
42
ESC SP Sets Space Size to Right of Characters 1BH 20H n
42
ESC ! Selects Print Mode in Batch 1BH 21H n
43
ESC # Sets Memory Switch
(Unique Extension Command)
1BH 23H N
n1 n2 n3 n4
44
ESC % Selects/Deselects Download Character Set 1BH 25H n
46
ESC & Denes Download Characters 1BH 26H y c1 c2
47
ESC
Selects Bit Image Mode 1BH 2AH m
¢
49
ESC 2 Sets 1/6-inch Line Feed 1BH 32H
51
ESC 3 Sets n/60-inch Line Feed (Approximate Value) 1BH 33H n
51
ESC = Selects Peripheral Device 1BH 3DH n
52
ESC @ Initializes Printer 1BH 40H
53
ESC C Sets Single Sheet Ejection Length 1BH 43H
53
ESC D Sets Horizontal Tab Position 1BH 44H
54
ESC F Selects/Deselects Ejection of Single Sheet in
Reverse Direction
1BH 46H n
55
ESC J Print and n/60-inch Paper Feed
(Approximate Value)
1BH 4AH n
55
ESC K Print and n/60-inch Reverse Paper Feed
(Approximate Value)
1BH 4BH n
Disabled 56
ESC L Selects Page Mode 1BH 4CH n (Line) Disabled 57
ESC R Selects International Characters 1BH 52H n
58
ESC T Selects Character Print Direction in Page Mode 1BH 54H n (Set)
59