User manual
APOS KANJI User Manual Page 31 / 45
Ref : 3103039-FDE Issue A
4.1.32. GS H
(Description) Select printing position of bar code data
(Format) <1Dh> <48h> <n>
(Comments) The value of n is used to set how the characters will be printed in accordance
with the following table.
(Cross reference) GS f
n Printing position
0 Not printed
1 Above bar code
2 Under bar code
3 Above and under bar code
4.1.33. ESC &
(Description) Define user-defined characters.
(Format) <1Bh> <26h> <s> <n> <m> [72] (m-n+1)
(Comments) Each character is defined as an array of dots (bits) which is s-bytes high by a-
bytes wide. The array contains bytes which represent the character ‘scanned’
from top to bottom and then from left to right. The first byte of the array (byte
p1) represents the top-left corner of the character with the most-significant bit
(MSB) at the top and the least-significant bit (LSB) seven dots below it.
Where any bit of the array contains a 1, a dot will be printed, where it contains
a 0, no dot will be printed. Thus s x a bytes are sent to define each character.
The newly-defined characters will overwrite the existing Ascii characters
between characters 32 and 126 starting from character number n to character
number m. Therefore, the character array must be sent (m-n+1) times. If
only 1 character is being sent, m should be set to the same value as n. The
new definitions will be retained unless over-written by a new definition, until a
reset command is sent (ESC @) or until a bit image is defined (command GS
∗).
1 <= s <=3 (ie. characters are 8, 16 or 24 bits high)
32 <= n <= m <= 126
Width of the font presently selected (see command AX f) <= a <= 12
The values <p1> to <ps x a> are all single-byte numbers
If the defined width of the new character, <a>, is less than the width of the
currently-selected font then the new font will take the same width as the
current font and so will include blank spaces to its right. Therefore this
command prohibits the definition of proportional fonts. In that case you
should use the related command AX &
(Cross reference) ESC %, AX &