- 1 -
TABLE OF CONTENTS
1. OUTLINE...................................................................................................................... 5
1.1 Operation Mode .......................................................................................................5
1.2 Character Set...........................................................................................................5
1.3 Control Commands ..................................................................................................5
1.3.1 Control Command Details................................................................................................ 5
1.3.2 How to Send Control Commands.................................................................................... 5
2. CONTROL COMMANDS .............................................................................................. 6
2.1 ESC/POS Command List ..........................................................................................6
2.1.1 Description of Items......................................................................................................... 9
2.2 Command Details ..................................................................................................10
2.2.1 Print Control Commands................................................................................................ 10
LF(Printing and paper feed)............................................................................................................ 10
CR(Back to printing) ........................................................................................................................ 10
FF(Printing in PAGE MODE and returning to STANDARD MODE).......................................................11
ESC FF(Printing data in PAGE MODE).............................................................................................. 12
ESC J n(Printing and feeding paper in minimum pitch) ................................................................... 12
ESC d n(Printing and feeding the paper by “n” lines)...................................................................... 13
2.2.2 Print Character Commands ........................................................................................... 14
CAN(Canceling print data in PAGE MODE)....................................................................................... 14
ESC SP n(Setting the right spacing of the character)...................................................................... 15
ESC ! n(Collectively specifying the printing mode) .......................................................................... 16
ESC % n(Specifying/Canceling download character set)................................................................. 18
ESC & s n m [a [p] s x a] m–n+1(Defining the download characters)........................................ 19
ESC – n(Specifying/canceling underline)......................................................................................... 20
ESC ? n(Deleting download characters) .......................................................................................... 21
ESC E n(Specifying/canceling emphasis printing)............................................................................ 22
ESC G n(Specifying/canceling double strike printing)...................................................................... 23
ESC M n(Selection of character fonts)............................................................................................. 24
ESC R n(Selecting the international character set).......................................................................... 24
ESC V n(Specifying/canceling 90°-right-turned characters) ............................................................ 25
ESC t n(Selecting the character code table).................................................................................... 26
ESC { n(Specifying/canceling the inverted characters) ................................................................... 27
ESC ~ J n (Valid in CBM1000II-Compatible Mode)(Specifies/cancels printing in red)............ 28
DC3 n (Valid in CBM1000II-Compatible Mode)(Specifies/cancels printing in red) .................. 29
GS ! n(Specifying the character size)............................................................................................... 30
GS B n(Specifying/canceling the black/white inverted printing) ...................................................... 31
GS b n(Specifying/canceling the smoothing)................................................................................... 32
2.2.3 Print Position Commands .............................................................................................. 33
HT(Horizontal tab)........................................................................................................................... 33
ESC $ n1 n2(Specifying the absolute positions) ............................................................................. 34
ESC D [ n ] k NULL(Setting horizontal tab position) ...................................................................... 35
ESC T n(Selecting the character printing direction in PAGE MODE)................................................. 36
ESC W xL xH yL yH dxL dxH dyL dyH(Defining the print area in PAGE MODE).......................... 37
ESC
\
nL nH(Specifying the relative position) ............................................................................... 38
ESC a n(Aligning the characters)..................................................................................................... 39
GS $ nL nH(Specifying the absolute vertical position of characters in PAGE MODE)....................... 40
GS L nL nH(Setting the left margin) ............................................................................................... 41
GS W nL nH(Setting the print area width)..................................................................................... 42
GS
\
nL nH(Specifying the relative vertical position of a character in PAGE MODE)...................... 44