38Programming

Summary of Control Codes & Escape Sequences

Table 2 • Control Codes and Escape Sequences in Alphabetical Order

Command

Hex

 

Decimal

Function

Page

ESC ENQ 6

1B

05

06

27 5 6

Status Report

page 66

ESC ENQ 7

1B

05

07

27 5 7

Firmware-version Enquiry

page 67

ESC ENQ 9

1B

05

09

27 5 9

Serial-number Enquiry

page 67

ESC ENQ 10

1B

05

0A

27 5 10

Control board revision Enquiry

page 67

ESC ENQ 11

1B

05

0B

27 5 11

Head temperature Enquiry

page 67

ESC ENQ 12

1B

05

0C

27 5 12

Bootware version Enquiry

page 68

ESC ENQ c

1B

05

63

27 5 99

Device ID Enquiry

page 68

ESC ENQ E

1B

05

45

27 5 69

Read extended status

page 69

ESC ENQ P n1

1B

05

50 n1

27 5 80 n1

Parameter-setting data Enquiry

page 69

ESC f n

1B

66

n1

27 102 n1

Presenter loop ON/OFF/max length

page 58

ESC FF n

1B

0C n1

27 12

n1

Eject (run presenter)

page 57

ESC g

n1...n5

1B

67

n1...n5

27 103 n1...n5

Print Logotype

page 53

ESC h

n1

1B

68

n1

27 104 n1

Text Height

page 42

ESC i

n1

1B

69

n1

27 105 n1

Italics

page 42

ESC j

n1

1B

6A n1

27 106 n1

Paper Reverse

page 55

ESC J

n1

1B

4A n1

27 74

n1

Paper Advance

page 54

ESC L

n1

1B

4C n1

27 76

n1

Print Logotype at Current Position

page 53

ESC NUL

1B

00

 

27 0

 

Load Firmware

page 61

ESC p

 

1B

70

 

27 112

Print

page 54

ESC P

n1

1B

50

n1

27 80

n1

Print Self-test Printout

page 54

ESC Q

n1 n2

1B

51

n1...n2

27 81

n1...n2

Quick Advance

page 55

ESC r

n1...n9

1B

72

n1...n9

27 114 n1...n9

Print Ruler Line

page 52

ESC RS

 

1B

1E

 

27 30

 

Cut only, no Eject

page 56

ESC s

n1

1B

73

n1

27 115 n1

Send dot-line, 203 dpi

page 51

ESC t

n1...n5

1B

74

n1...n5

27 116 n1...n5

Print Text at XY

page 43

ESC T

n1

1B

54

n1

27 84

n1

Reversed/Inversed Text

page 42

ESC u

n1

1B

75

n1

27 117 n1

Underline

page 42

ESC w

n1

1B

77

n1

27 119 n1

Text Width

page 43

FF

 

0C

 

 

12

 

Form Feed

page 45

HT

 

09

 

 

9

 

Horizontal Tabulation

page 45

LF

 

0A

 

 

10

 

Linefeed

page 44

RS

 

1E

 

 

30

 

Cut and Eject

page 56

US

 

1F

 

 

031

 

Partial cut

page 57

Note • In all responses from the printer the most significant byte (MSB) is transmitted first

P1002902-002

TTP 2000 Technical Manual

09/14/2009