Samsung SRP-275CEPG Operation Manual - Page 97

ESC % n, ESC & NUL n1 n2 [m d1 d2 d3 d4 d5 d6 d7]

Page 97 highlights

CHAPTER 5 CONTROL COMMANDS LIST ESC & NUL n1 n2 [m d1 d2 d3 d4 d5 (d6 d7)]n2-n1+1 [Name] Register/cancel download characters [Format] ASCII ESC & NUL n1 n2[m d1 d2 d3 d4 d5 (d6 d7)]n2-n1+1 Hex 1B 26 00 n1 n2[m d1 d2 d3 d4 d5 (d6 d7)]n2-n1+1 Decimal 27 38 0 n1 n2[m d1 d2 d3 d4 d5 (d6 d7)]n2-n1+1 [Range] 32 ≤ n1 ≤ n 2 ≤ 127 (20h ≤ n 1 ≤ n 2 ≤ 7Fh) m = 0, 128 (00h, 80h) 0 ≤ d1~d7 ≤ 255 [Default] ------ [Description] Registers download characters to the specified character code. A maximum of 10 download characters of 7 x 9 font and 5 x 9 font can be registered. The range for writing download characters is specified by n1, n2. When the registered character is 1 character, n1 = n2. If one has been already registered to an address, it is overwritten. This command registers download characters independent to each font. m indicates the relationship of the character pattern and the print head (see figure below). Definition data (d1 to d7) set the bits that correspond to the dots to print to 1, and the bits that correspond to the dots that are not printed to 0. Even if ESC @ (command initialization) is executed, a registered download character is not cleared. 1) When m = 0(00h): 2) When m = 128 (80h): ESC % n [Name] Set/cancel download characters [Format] ASCII ESC % n Hex 1B 25 n Decimal 27 37 n [Range] n = 0, 1, 48, 49 [Default] Download character cancelled. [Description] Specifies/cancels download character according to n value. n Function 0, 48 Cancel download characters 1, 49 Specify download characters Print example of download characters 1) Download character register (ESC & NUL n1 n2 m0 m1 m2...) 2) Specify download characters (ESC % n (n = 1)) 3) Print download characters 5-102 5-103

  • 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
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110

5-103
5-102
ESC % n
[Name]
Set/cancel download characters
[Format]
ASCII
ESC
%
n
Hex
1B
25
n
Decimal
27
37
n
[Range]
n = 0, 1, 48, 49
[Default]
Download character cancelled.
[Description]
Specifies/cancels download character according to n value.
Print example of download characters
1) Download character register (ESC & NUL n1 n2 m0 m1 m2...)
2) Specify download characters (ESC % n (n = 1))
3) Print download characters
n
0, 48
1, 49
Function
Cancel download characters
Specify download characters
CONTROL COMMANDS LIST
CHAPTER 5
ESC & NUL n1 n2 [m d1 d2 d3 d4 d5 (d6 d7)]
n2-n1+1
[Name]
Register/cancel download characters
[Format]
ASCII
ESC
&
NUL
n1
n2[m d1 d2 d3 d4 d5 (d6 d7)]n2-n1+1
Hex
1B
26
00
n1
n2[m d1 d2 d3 d4 d5 (d6 d7)]n2-n1+1
Decimal
27
38
0
n1
n2[m d1 d2 d3 d4 d5 (d6 d7)]n2-n1+1
[Range]
32
n1
n 2
127 (20h
n 1
n 2
7Fh)
m = 0, 128 (00h, 80h)
0
d1~d7
255
[Default]
------
[Description]
Registers download characters to the specified character code.
A maximum of 10 download characters of 7 x 9 font and 5 x 9 font can be
registered. The range for writing download characters is specified by n1, n2.
When the registered character is 1 character, n1 = n2. If one has been already
registered to an address, it is overwritten.
This command registers download characters independent to each font.
m indicates the relationship of the character pattern and the print head
(see figure below).
Definition data (d1 to d7) set the bits that correspond to the dots to print to 1,
and the bits that correspond to the dots that are not printed to 0.
Even if ESC @ (command initialization) is executed, a registered download
character is not cleared.
1) When m = 0(00h):
2) When m = 128 (80h):