PRINTER CHD6800 Technical Manual
© Computer Hardware Design 9
2.3 ESC % Select/cancel user-defined character set (v4.0.0)
[FORMAT] <1B>H<25>H<n>
[RANGE] 0≦n≦255
[FUNCTION] Selects or cancels the user-defined character set.
- When the LSB of n is 0, the user-defined character set is not used
- When the LSB of n is 1, the user-defined character set is used.
[DEFAULT] n=0
[CAUTION] * User defined characters, bit image (GS *), print bitmap block (GS q) and print raster bit
image (GS v 0) shares the same memory. Sending this command will discard bit image or
bitmap block.
* This command is ignored if user defined characters are not defined using ESC & or are
deleted, for example, using FS q, GS *, GS q or GS v 0 command.
2.4 ESC & Define user-defined characters (v4.0.0)
[FORMAT] <1B>H<26>H<y><c1><c2>[x1 d1...d(y×x1)]...[ xk d1...d(y×xk)]
[DESCRIPTION] y - the number of bytes in the vertical direction
c1 – the beginning character code for the definition
c2 - the final code
x - the number of dots in the horizontal direction from the left edge.
d - the defined data (in column format, see FS q command for refference).
[RANGE] y – 4 for font A
y – 3 for font B
32 ≤ c1 ≤ c2 ≤ 126
0 ≤ x ≤ 12
0 ≤ d ≤ 255
k = c2 – c1 +1
[FUNCTION] Defines the user-defined character pattern for the specified character codes.
[CAUTION] * User defined characters, bit image (GS *), print bitmap block (GS q) and print raster bit
image (GS v 0) shares the same memory. Sending this command will discard bit image or
bitmap block.
* If x = 0, command data is considered finished and following data will be treated as other
commands or printable characters.