User's Manual Part 2
Table Of Contents
- Connecting to the Printer
- Understanding the Font Modules
- Using the Windows 95 or Windows 98 Printer Configuration Utility
- Using the Windows 2000 or Windows XP Printer Configuration Utility
- Understanding Control Code Definitions
- Using Printer Control Codes
- Backspace
- Beeper
- Cancel Line
- Carriage Return
- Delete
- Form Feed
- Select Half-Speed Printing
- Cancel Half-Speed Printing
- Set Inactivity Time for Sleep Mode
- Line Feed
- Perform Master Reset
- Set Print Position (absolute)
- Set Print Position (relative)
- Page Formatting Functions
- Character Style and Text Mode Functions
- Defining Intercharacter Space
- Tabs and Tab Setting Functions
- Using Character Sets and User-Defined Functions
- Single-Byte Character Sets
- Double-Byte Character Sets
- Multi-Byte Character Sets
- Select National Character Set
- Hebrew Character Fonts
- User Defined Characters
- Copy ROM to RAM
- Define User-Defined Characters
- Select User-Defined Character Set
- Select Default Character Set
- Enable Printing of Codes 128-159
- Disable Printing of Codes 128-159
- Expand Printable Code Area
- Enable Printing of Character Graphics
- Disable Printing of Character Graphics
- Printing Character Graphics
- Graphics Functions
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