Samsung 275C User Manual - Page 51

ESC p, ESC r, ESC t

Page 51 highlights

CHAPTER 4 Control commands list ESC p [Name] [Format] [Range] [Default] [Description] [Notes] ESC r [Name] [Format] [Range] [Default] [Description] ESC t [Name] [Format] [Range] [Default] [Description] Generate pulse ASCII ESC p m t1 t2 Hex 1B 70 m t1 t2 Decimal 27 112 m t1 t2 m = 0, 1, 48, 49 1 ≤ t1 ≤ 255 1 ≤ t2 ≤ 255 None 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). • If t2 < t1, the OFF time is equal to the ON time. • If t2 < 50, t2 is supposed to be 50. Select print color ASCII ESC r n Hex 1B 72 n Decimal 27 114 n n = 0, 1, 48, 49 n = 0 Selects a print color, using n as follows: n 0, 48 1, 49 Selected color Black Red Select character code table ASCII ESC t n Hex 1B 74 n Decimal 27 116 n n = 0, 1, 2, 3, 4, 5, 16, 17, 18, 19, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 255 n = 0 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

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100

CHAPTER 4
Control commands list
4-15
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)