User's Manual Part 2

Table Of Contents
Chapter 5 — Control Code Definitions
82 6822 Series 80-Column Printer User’s Manual
Double-Byte Character Sets
Double-byte character (DBCS) sets require two bytes to send to the
printer to define the character to print. The first byte of the character
code sent to the printer is known as a lead-in byte. The second byte of
the character code is known as the trailing byte. Different character sets
have different requirements for the values of both lead-in and trailing
byte. When the lead-in byte does not fall in the range listed for the
character set, a character from a SBCS may print. The following double-
byte character sets are supported by the 6822.
Multi-Byte Character Sets
Double-byte character sets and single-byte character sets can mix when
printing a report. This mixture is referred to as a Multi-Byte Character
Set (MBCS). When a DBCS is selected, the characters from the SBCS
code page currently selected are used for rendering character codes and
control codes from 0 to 127. Codes above 127 (that fall within the range
of lead-in bytes for the selected character set) treat the byte that follows
as a trailing byte for that character set. Otherwise, for character codes
above 128, the character code from the selected SBCS is printed.
NFT00950.MOD (BIG 5 DBCS) does not allow the MBCS mode. For
this character set, only control codes from 0-31 are treated as single byte
characters when they are not proceeded by a lead-in byte. All escape
sequence character strings are treated as SBCS.
Double Byte Character Sets
Font Module
Code
Page
DBCS Languages Lead-in Byte Trailing Byte
nft00936.mod 936 GB 2312 Chinese
(simplified)
A1h–ABh
B0h–F7h
A1h–FEh
nft00950.mod 950 big 5 Traditional
Chinese
A1h–C6h
C9h–F9h
40h–FEh (except
7Fh)
nft00932.mod 932 Shift JIS Japanese 81h–9Fh
E0h–FCh
40h–FCh (except
7Fh)
nft00949.mod 949 KSC 5601 Korean A1h–ACh
B0h–C8h
CAh–FDh
A1h–FEh