background image

n

 

Function

 

0, 48 

Turns off underline mode 

1, 49 

Turns on underline mode (1 dot thick) 

2, 50 

Turns on underline mode (2 dots thick) 

3.  Turn emphasized mode on/off 

     

public

 

static

   

void

 SetBold (

byte

 BoldEn); 

     

[Range]                0 

<= 

BoldEn 

<=

255 

   

[Description]        Turns emphasized mode on or off 

      When the LSB of n is 0, emphasized mode is turned off. 

 

 

 

      When the LSB of n is 1, emphasized mode is turned on.

 

4.  Select character font 

     public

 

static

   

void

 SetCharacterFont(

byte

 Font); 

     

[Range]               

Font

 = 0, 1, 48, 49 

    

[Description]        Selects the character font. 

n

 

Function

 

0, 48 

Character Font A (12

24) selected. 

1, 49 

Character Font B (9×17) selected. 

 

5.  Turn 9

0

clocrotation mode 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

clockwise rotation mode 

1,49 

Turns on 90

clockwise rotation mode 

 

6.  Select justification 

     

public

 

static

   

void

 SetAlignMode(

byte

 AlignMode); 

     

[Range]                0 

<= 

AlignMode 

<=

2,      48 

<= 

AlignMode 

<= 

50 

[Description]        Aligns all the data in one line to the specified position. AlignMode selects the 

justification as follows: 

Justification 

0,48

 

Left justification

 

1, 49

 

Centering

 

2, 50

 

Right justification

 

 

7.  Turns on/off upside-down printing mode 

     

public

 

static

   

void

 SetInvertPrint (

byte

 InvertModeEn); 

     

[Range]                0 <=

 

InvertModeEn<=255 

   

[Description]        Turns upside-down printing mode on or off. 

When the LSB of n is 0, upside-down printing mode is turned off. 

Содержание 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...

Отзывы: