Chapter 5: Programming commands
46
A776 (B780) Programming Guide
A776-PG00001 D 07/13
Define user-defined character set
ASCII
ESC &
s c1 c2 [character 1 data] ... [character k data]
Hexadecimal
1B 26
s c1 c2 [character 1 data] ... [character k data]
Decimal
27 38
s c1 c2 [character 1 data] ... [character k data]
Values and ranges:
Receipt:
s
= 3, the number of bytes (vertically) in the character cell
c
= the ASCII codes of the first
(c
1) and last (
c
2) characters respectively
c
1 = Hex 20–FF (20 is always printed as a space)
c
2 = Hex 20–FF (20 is always printed as a space)
To define only one character, use the same code for both
c
1 and
c
2
k = c2 – c1 + 1
= the number of characters to be defined in this command string
[character i data] = [ni d1 ... d(3 x ni)]
for
1 ≤ i ≤ k
ni
= the number of dot columns for the ith character,
1 ≤ ni ≤ 16
d
= the dot data for the characters
The number of bytes for the ith character cell is
3 x ni.
The bytes are printed down and across each cell.
Defines and enters downloaded characters into RAM. The command may be used to overwrite single characters. User-defined
characters are available until power is turned off or the initialize printer command (1B 40) is received.
Any invalid byte (s, c1, c2, n1) aborts the command.
Slip:
s = 0
c
= the ASCII codes of the first
(c
1) and last (
c
2) characters
respectively
c
1 = Hex 20–FF
c
2 = Hex 20–FF
To define only one character, use the same code for
both
c
1 and
c
2
d
= the column data for the
n
th character as specified
by
d
1 ...
d
12
Each character is defined by 12 bytes (only bytes 2–11 are printed.)
Each byte is one column (full- or half-dot column.)
Overlapped dots are not printed.
The data must contain [(
c
2 -
c
1 + 1) x 12] bytes. (See illustration.)
Defines and enters downloaded characters into RAM or flash. The command may be used to overwrite single
characters. User-defined characters are available until power is turned off or the initialize printer command (1B 40) is
received.
Any invalid byte (
s
,
c
1,
c
2,
n
1) aborts the command.
User-defined character sets for both slip and receipt may be used at the same time.
s = 2
B780, slip only
.
Related information
See 1D 22
n
(select memory type where to save user-defined fonts.)
Содержание A776 ColorPOS
Страница 12: ...Contents x A776 B780 Programming Guide A776 PG00001 D 07 13...
Страница 14: ...Chapter 1 About this Guide 2 A776 B780 Programming Guide A776 PG00001 D 07 13...
Страница 160: ...Appendix B Resident Character Sets 148 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 737 Greek...
Страница 161: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 149 Code page 850 Multilingual...
Страница 162: ...Appendix B Resident Character Sets 150 A776 B780 Programming Guide A776 PG00001 D 07 13 Code Page 852 Slavic...
Страница 163: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 151 Code Page 857 Turkish...
Страница 164: ...Appendix B Resident Character Sets 152 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 858 with Eurosymbol...
Страница 165: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 153 Code page 860 Portugese...
Страница 166: ...Appendix B Resident Character Sets 154 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 862 Hebrew...
Страница 167: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 155 Code page 863 French Canadian...
Страница 168: ...Appendix B Resident Character Sets 156 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 865 Nordic...
Страница 169: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 157 Code page 866 Cyrillic...
Страница 170: ...Appendix B Resident Character Sets 158 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 1251 Cyrillic...
Страница 171: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 159 Code page 1252 Windows Latin 1...
Страница 172: ...Code page 1255 Hebrew...
Страница 173: ...Code page KZ_1048 Kazakh Code Page KZ_1048 Kazakh...
Страница 174: ...Appendix C Electronic Journal 162 A776 B780 Programming Guide A776 PG00001 D 07 13...
Страница 179: ......
Страница 180: ...A776 PG00001 Rev D 07 2013...