Esc % N Select/Cancel User-Defined Characters; Esc & Y C1 C2 [X1 D1 - SNBC BTP-R580II Programming Manual

Table of Contents

Advertisement

ESC % n Select/Cancel user-defined characters

[Function]
Select/cancel user-defined characters.
[Format]
ASCII
Hex
Decimal 27
[Range]
0 ≤ n ≤255
[Notes]
• When the least significant bit of n is 0, the user-defined characters are not used.
• When the least significant bit of n is 1, the user-defined characters are used.
• When the user-defined characters are canceled, the internal character set is
automatically selected.
• Only the least significant bit of n is valid.
[Default]
n = 0
[Relative]
ESC &, ESC ?
ESC & y c1 c2 [x1 d1...d(y × x1)]...[xk d1...d(y × xk)] Define user-defined characters
[Function]
Define user-defined characters.
[Format]
ASCII
Hex
Decimal 27
[Range]
y = 3
32 ≤ c1 ≤ c2 ≤ 127
0 ≤ x ≤ 12 Standard ASCII font (12× 24)
0 ≤ x ≤ 9 Compressed ASCII font (9 × 17)
0 ≤ d1 ... d (y × xk) ≤ 255
• y specifies the number of bytes in the vertical direction.
• c1 specifies the beginning character code, and c2 specifies the final code.
• x specifies the number of dots in the horizontal direction.
[Notes]
•The allowable character code range is from ASCII code <20>H to <7F>H
characters) .
•It is possible to define multiple characters for consecutive character codes. If only one
character is desired, use c1 = c2.
•d is the data for downloaded characters. The data of dot starts from the left side.
•The size of user-defined character is (y × x) byte.
•Set a corresponding bit to be 1 for printing a dot, or to be 0 for not printing a dot.
•The user-defined character definition is cleared under following situations:
[Default]
Settings of internal character set
[Relative]
ESC %, ESC ?
[Example]
•When standard ASCII font (12 × 24) is selected:
ESC
%
n
1B
25
n
37
n
ESC
&
y c1 c2 [x1 d1...d(y × x1)]...[xk d1...d(y × xk)]
1B
26
y c1 c2 [x1 d1...d(y × x1)]...[xk d1...d(y × xk)]
38
y c1 c2 [x1 d1...d(y × x1)]...[xk d1...d(y × xk)]
ESC ? is executed.
The power is turned off.
BTP-R580II Programming Manual
- 19 -
(96

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents