background image

 

 

 

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

 

Character height selection. See Table 2. 

Character width selection. See Table 1. 

Table 1                                                                          Table 2 

Character Width Selection                                          Character Height Selection

 

Hex

 

Decimal

 

Width

 

 

Hex

 

Decimal

 

Width

 

00 

1(normal) 

 

00 

1(normal) 

10 

16 

2(double-width) 

 

01 

2(double-height) 

20 

32 

 

02 

30 

48 

 

03 

40 

64 

 

04 

50 

80 

 

05 

60 

96 

 

06 

70 

112 

 

07 

 

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

 

 

 

 

Undefined. 

 

 

 

Undefined. 

Содержание LR200M

Страница 1: ...re MESSAGE_STATE_CHANGE MESSAGE_WRITE MESSAGE_READ MESSAGE_DEVICE_NAME MESSAGE_TOAST open and close the connection method 1 connect device Establish a connection with a Bluetooth device OpenPrinter me...

Страница 2: ...nH Range 0 nL 255 0 nH 255 Description Sets the distance from the beginning of the line to the position at which subsequent characters are to be printed The distance from the beginning of the line to...

Страница 3: ...cterPrintMode Range 0 n 255 Description Selects print mode s using n as follows Bit Off On Hex Decimal Function 0 Off 00 0 Character Font A 12 24 On 01 1 Character Font B 9 17 1 Undefined 2 Undefined...

Страница 4: ...on off public static void SetRotate byte RotateEn Range 0 RotateEn 1 48 RotateEn 49 Description Turns 90 clockwise rotation mode on off RotateEn is used as follows RotateEn Function 0 48 Turns off 90...

Страница 5: ...th 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...

Страница 6: ...e mode for Kanji characters on or off based on the following values of ChineseUnderlineEn ChineseUnderlineEn Function 0 48 Turns off underline mode for Kanji characters 1 49 Turns on underline mode fo...

Страница 7: ...ff 00 0 Printer not Over Heat 7 Off 00 00 Fixed Notes Processing the recrived data in Handler Examples as follows The Handler that gets information back from the BluetoothPrintDriver private final Han...

Страница 8: ...ects a mode for cutting paper and executes paper cutting The value of m selects the mode as follows CutMode Print mode 1 49 Partial cut one point left uncut 66 Feeds paper cutting position FeedDistanc...

Отзывы: