CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS)
B-EP
Series
8-56
8.10.39 CHINESE
CHARACTER
CODE SYSTEM SET COMMAND [FS] C
Function
Selects a Chinese character code system.
Format [FS]
Cn
Term
ASCII: FS C
Hex: 1Ch 43h
[Parameter]
n: Selecting Chinese character code system n = 0, 1 (n = 00h, 01h)
b7
b0
-- -- -- -- -- -- --
Default value
n: 0
Explanation
(1) For JIS code, valid Chinese character codes are 21 to 7Eh for both the 1st and 2nd
bytes.
(2) For shift JIS code, valid Chinese character codes are as follows:
1st byte: 81h to 9Fh, or E0h to EFh
2nd byte: 40h to 7Eh, or 80h to FCh
(3) There is no impact upon the setting with Chinese or Korean language implemented.
[Program
example]
fprintf( stdprn, "\034C\x01");
/* SHIFT-JIS selected */
fprintf( stdprn, "\x44\x7b\n");
fprintf( stdprn, "\034C%c",0x00);
/* JIS selected */
fprintf( stdprn, "\034&");
/* Beginning of Chinese character */
fprintf( stdprn, "\x44\x7b\n");
fprintf( stdprn, "\034.");
/* End of Chinese character */
fprintf( stdprn, "\x44\x7b\n");
example]
D{
D{
0: JIS code system
1: Shift JIS code system