CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS)
B-EP
Series
8-46
8.10.30 CODE PAGE NO. SELECT COMMAND
[ESC] t
Function
Selects a code page No.
Format [ESC]
tn
Term
ASCII: ESC t
Hex: 1Bh 74h
[Parameter]
n: Selecting code page No.
0
≤
n
≤
5 (00h
≤
n
≤
05h)
n = 255 (n = FFh)
0: PC437 (USA: Standard Europe)
1: Japanese (Katakana)
2: PC850 (Multilingual)
3: PC860 (Portuguese)
4: PC863 (Canadian-French)
5: PC865 (Nordic)
255: Blank page
Default value n: 0
Explanation
(1) PC850 is the only code page that the B-EP series supports. Therefore, any values
other than 2 are invalid.
[Program example]
for(i=0;i<2;i++)
{
fprintf( stdprn, "\033t");
/* Selecting code page */
fputc( i, stdprn );
for(j=0x20;j<0xff;j++)
{
fputc( j, stdprn );
}
fprintf( stdprn, "\n\r" );
}
example]
! ” #
•
•
•
•
:
:
•
•
•
•
2
! ” #
•
•
•
•
:
:
•
•
•
•
←
Page 0
←
Page 1