Esc & Define User Characters - Citizen Model CMP-10 Command Reference Manual

Citizen systems mobile line thermal printer user manual
Hide thumbs Also See for Model CMP-10:
Table of Contents

Advertisement

ESC & m n1 n2 [d] k
[Function]
Define user characters
[Code]
<1B>H<26>H<m><n1><n2>[<d>]k
[Range]
{m = 0, 1, 2, 3(Hex)}
{20 =< n1 =< FF(Hex)}
{n1 =< n2 =< FF(Hex)}
{k=(n2-n1+1)*48} (m=2)
{k=(n2-n1+1)*16} (m=3)
[Outline]
Defines a group of user characters.
m=0: Copy internal character set A to user character set A
m=1: Copy internal character set B to user character set B
m=2: For Font A (12 × 24), n1 denotes Start character code and n2 End character
m=3: Define character group with ASCII codes between >= n1 and =< n2 for character
[Caution]
The data for character set A is composed from left to right and from top to bottom
with two bytes for each horizontal line. The first byte contains the first 8 bits with
the left most bit is MSB. From the second byte only the first nibble (the most significant
4 bits) is valid.
The data for character set B is composed from left to right and from top to bottom
with only one byte for each horizontal line. The nineth bith is alawys 0.
Downloaded characters are valid even after switching off the printer or after issuing
Initialize command.
24
(Parameters n1, n2 and d are omitted)
(Parameters n1, n2 and d are omitted)
code. Every character is 48 bytes, two bytes for each line. Only the first nibble
of the second byte is used.
set B (9 × 16). Every character is 16 bytes.
Download character
Font A (12 × 24)
(Last 4 bits are not used and fixed as zero.)
d1
d3
d5
d7
d9
d43
d45
d47
MSB
8 7 6 5 4 3 2 1
Font B (9 × 16)
(9th dot is fixed as space.)
d2
d4
d6
d8
d10
16
8 7 6 5 4 3 2 1
d44
d46
d48
0 0
0 0
LSB
— 13 —
d1
d2
d3
d4
d5
d14
d15
d16

Advertisement

Table of Contents
loading

Table of Contents