When the LSBof n is 1, upside-down printing mode is turned on.
8. Select character size
public
static
void
SetFontEnlarge (
byte
FontEnlarge);
[
Range] 0 <= FontEnlarge <= 255
[Description] Selects the character height using bits 0 to 2 and selects the
character width using bits 4 to 7, as follows:
Bit
Off/On
Hex
Decimal
Function
0
Character height selection. See Table 2.
1
2
3
4
Character width selection. See Table 1.
5
6
7
Table 1 Table 2
Character Width Selection Character Height Selection
Hex
Decimal
Width
Hex
Decimal
Width
00
0
1(normal)
00
0
1(normal)
10
16
2(double-width)
01
1
2(double-height)
20
32
3
02
2
3
30
48
4
03
3
4
40
64
5
04
4
5
50
80
6
05
5
6
60
96
7
06
6
7
70
112
8
07
7
8
9. Turn white/black reverse printing mode
public
static
void
SetBlackReversePrint (
byte
BlackReverseEn);
[Range] 0 <=
BlackReverseEn <=255
[Description] Turns on or off white/black reverse printing mode.
When the LSB of n is 0, white/black reverse mode is turned off.
When the LSB of n is 1, white/black reverse mode is turned on.
kanji control commands related methods
1. Set print mode(s) for Kanji characters
public
static
void
SetChineseCharacterMode (
byte
ChineseCharacterMode);
[Range] 0 <=
ChineseCharacterMode
<=255
[Description] Sets the print mode for Kanji characters, using
ChineseCharacterMode
as follows:
Bit
Off/On
Hex
Decimal
Function
0
-
-
-
Undefined.
1
-
-
-
Undefined.