CHAPTER 4 Control commands list

ESC p

[Name]

Generate pulse

 

 

 

 

 

 

[Format]

ASCII

ESC

p

m

t1

t2

 

Hex

1B

70

m

t1

t2

 

Decimal

27

112

m

t1

t2

[Range]

m = 0, 1, 48, 49

 

 

 

 

 

 

1 ≤ t1 ≤ 255

 

 

 

 

 

 

 

1 ≤ t2 ≤ 255

 

 

 

 

 

 

[Default]

None

 

 

 

 

 

 

[Description]

Outputs the pulse specified by t1 and t2 to the specified connector pin m as follows:

 

 

 

 

 

 

 

 

 

m

 

 

Connector Pin

 

 

 

 

0

 

Drawer kick-out connector pin 2

 

 

 

1

 

Drawer kick-out connector pin 5

 

 

 

- The pulse for ON time is (t1 x 2msec) and for OFF time is (t2 x 2 msec).

[Notes]

• If t2 < t1, the OFF time is equal to the ON time.

 

• If t2 < 50, t2 is supposed to be 50.

 

 

 

 

ESC r

[Name]

Select print color

 

 

 

[Format]

ASCII

ESC

r

n

 

Hex

1B

72

n

 

Decimal

27

114

n

[Range]

n = 0, 1, 48, 49

 

 

 

[Default]

n = 0

 

 

 

[Description]

Selects a print color, using n as follows:

 

 

 

 

 

 

n

 

Selected color

 

 

0, 48

 

 

Black

 

 

1, 49

 

 

Red

 

ESC t

[Name]

Select character code table

 

 

 

[Format]

ASCII

ESC

t

n

 

Hex

1B

74

n

 

Decimal

27

116

n

[Range]

n = 0, 1, 2, 3, 4, 5, 16, 17, 18, 19, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 255

[Default]

n = 0

 

 

 

 

[Description]

Selects a page n from the character code table.

 

 

 

 

 

 

 

n

 

Page

 

 

 

0

Page 0 (PC437 : U.S.A.)

 

 

 

1

Page 1 (Katakana)

 

 

 

2

Page 2 (PC850 : Multilingual)

 

 

3

Page 3 (PC860 : Portuguese)

 

 

4

Page 4 (PC863 : Canadian-French)

 

 

5

Page 5 (PC865 : Nordic)

 

 

 

16

Page 16 (WPC1252 : Latin1)

 

 

17

Page 17 (PC866 : Russian)

 

 

18

Page 18 (PC852 : Latin2)

 

 

19

Page 19 (PC858 : Euro)

 

 

 

21

Page 21 (PC862 : Israel)

 

 

22

Page 22 (PC864 : Arabic)

 

 

23

Page 23 (Thai character code 42)

 

 

24

Page 24 (WPC1253 : Greek)

 

 

25

Page 25 (WPC1254 : Turkish)

 

 

26

Page 26 (WPC1257 : Baltic)

 

 

27

Page 27 (Farsi) (*1)

 

 

 

28

Page 28 (WPC1251 : Russian) (*1)

 

 

29

Page 29 (PC737 : Greek) (*1)

 

 

30

Page 30 (PC775 : Baltic) (*1)

 

 

31

Page 31 (Thai character code 16)

 

 

32

Page 32 (OldCode : Israel)

 

 

33

Page 33 (WPC1255 : Israel)

 

 

34

Page 34 (Thai character code 11)

 

 

35

Page 35 (Thai character code 18)

 

4-15

Page 51
Image 51
Samsung SRP275APG user manual ESC p, ESC r, ESC t