beautypg.com

CITIZEN CT-S300 User Manual

Page 3

background image

— i —

TABLE OF CONTENTS

1. OUTLINE .............................................................................................................................................. 1

1.1 Operation Mode ............................................................................................................................................ 1

1.2 Character Set ................................................................................................................................................. 1

1.3 Control Commands ....................................................................................................................................... 1

1.3.1 Control Command Details .................................................................................................................. 1

1.3.2 How to Send Control Commands ...................................................................................................... 1

2. CONTROL COMMANDS ..................................................................................................................... 2

2.1 ESC/POS Command List ............................................................................................................................... 2

2.1.1 Description of Items ............................................................................................................................ 6

2.2 Command Details .......................................................................................................................................... 7

2.2.1 Print Control Commands .................................................................................................................... 7

LF .............................................................................................................................................................. 7
CR ............................................................................................................................................................. 8
FF .............................................................................................................................................................. 9
ESC FF ................................................................................................................................................... 10
ESC J n ................................................................................................................................................. 10
ESC d n ................................................................................................................................................ 11

2.2.2 Print Character Commands .............................................................................................................. 12

CAN ........................................................................................................................................................ 12
ESC SP n .............................................................................................................................................. 13
ESC ! n ................................................................................................................................................. 14
ESC % n ............................................................................................................................................... 16
ESC & s n m [a [p] s

× a] m–n+1 .................................................................................................... 17

ESC – n ................................................................................................................................................. 18
ESC ? n ................................................................................................................................................. 19
ESC E n ................................................................................................................................................ 20
ESC G n ................................................................................................................................................ 21
ESC M n ................................................................................................................................................. 22
ESC R n ................................................................................................................................................ 22
ESC V n ................................................................................................................................................ 23
ESC t n ................................................................................................................................................. 24
ESC { n ................................................................................................................................................. 25
ESC ~ J n (Valid in CBM1000II-Compatible Mode) ............................................................................. 26
DC3 n (Valid in CBM1000II-Compatible Mode) ................................................................................... 27
GS ! n ................................................................................................................................................... 28
GS B n .................................................................................................................................................. 29
GS b n .................................................................................................................................................. 30

2.2.3 Print Position Commands ................................................................................................................. 31

HT ........................................................................................................................................................... 31
ESC $ n1 n2 ........................................................................................................................................ 32
ESC D [ n ] k NULL ............................................................................................................................ 33
ESC T n ................................................................................................................................................ 34
ESC W xL xH yL yH dxL dxH dyL dyH ........................................................................................ 35
ESC \ nL nH ............................................................................................................................................ 36
ESC a n ................................................................................................................................................. 37
GS $ nL nH ........................................................................................................................................... 38
GS L nL nH .......................................................................................................................................... 39
GS W nL nH ........................................................................................................................................ 40
GS \ nL nH .............................................................................................................................................. 42

2.2.4 Line Feed Span Commands ............................................................................................................. 43

ESC 2 ..................................................................................................................................................... 43
ESC 3 n ................................................................................................................................................. 44