User manual

46
ORIENTAL CHARACTER SETS
(Not available for 22/24/26)
Boca offers several resident oriental fonts as options.
The optional Japanese font supplied with the FGL printer contains the following types of characters:
miscellaneous symbols; upper and lower case Roman characters and numerals; Hiragana characters; full-width
Katakana; Greek characters, Cyrillic characters and approximately 6350 KANJI characters. This character set
is provided in all four FGL directions. It is selected by specifying printer font 25, FGL command "<F25>".
The optional Chinese font supplied with the FGL printer contains the following types of characters:
miscellaneous symbols; upper and lower case Roman characters and numerals; Hiragana characters; full-width
Katakana; Greek characters, Cyrillic characters and approximately 6700 Chinese characters. It can be selected
by sending the following FGL commands "<F20>".
Once font 20 or 25 has been selected the printer is automatically placed in "two byte" mode which allows it to
correctly interpret Extended UNIX Codes (EUC) which are used to represent the KANJI characters. When
operating in this mode, the printer treats any two adjacent bytes that fall into the EUC KANJI code range as a
single character. The range of values for the first byte of each character is 161-254 decimal and the range for
the second byte is 161-254 decimal. The first byte received by the printer is the most significant byte of the
character code and the second byte is the least significant byte. Please note that some of the characters within
this range have not been defined. Any character codes received for undefined characters will print as spaces.
In addition to the Two byte character codes, the printer will accept normal FGL commands (character range 0-
127 decimal) while font 20 or 25 is active. Please note that the printer will not accept any standard ASCII
characters in this mode. ASCII characters can only be printed by re-selecting a standard one byte font.
Two byte mode will be terminated any time another font is selected; graphics or logo mode is entered; or a
download sequence is received. To place the printer back into two byte mode, an oriental font must again be
selected.
The Oriental fonts are organized according to the KUTEN value of the characters. The KUTEN is a matrix that
contains 94 rows with 94 characters per row.
In the Chinese font, rows 1 - 15 are reserved for non-Chinese characters and rows 16 thru 87 contain the
Chinese characters. The first character of the Chinese font is the space character located at KUTEN position
row 1 column 1.
In the Japanese font, the first character of the KANJI character set is the space character located at KUTEN
position row 1 column 1. The sample ticket shows the first 8 rows of the font. These rows are reserved for non-
KANJI characters. Rows 9 thru 15 do not have characters assigned to them and rows 16 thru 84 contain the
KANJI characters. Please note in the following example that the KUTEN values are offset by 160 decimal to
form the EUC character code required by the printer.
NOTE: At the present time, BOCA supports EUC codes for Japanese, Chinese and Korean. Big Five encoding
for Traditional Chinese is supported. Unicode Traditional Chinese and Japanese are supported. Shift JIS
Japanese is also supported.