background image

Off 

00 

Double-width mode is OFF. 

On 

04 

Double-width mode is ON. 

Off 

00 

Double-height mode is OFF. 

On 

08 

   

Double-height mode is ON. 

 

 

 

Undefined. 

 

 

 

Undefined. 

 

 

 

Undefined. 

Off 

00 

Underline mode is OFF. 

On 

80 

128 

Underline mode is ON. 

 

2.  Select Kanji character mode 

     

public

 

static

 

void

 SelChineseCodepage (); 

     

[Description]      Selects Kanji character mode.

 

3.  Cancel Kanji character mode 

     

public

 

static

 

void

 CancelChineseCodepage (); 

     

[Description]      Cancels Kanji character mode.

 

4.  Turn underline mode on/off for Kanji characters 

     

public

 

static

   

void

 SetChineseUnderline (

byte

 ChineseUnderlineEn); 

     

[Range]          0 <=ChineseUnderlineEn<=2,    48 <=

 

ChineseUnderlineEn<=50 

            [Description] Turns underline 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 for Kanji characters (1-dot thick) 

2, 50 

Turns on underline mode for Kanji characters (2-dot thick) 

 

 

Cash drawer control method 

1.  Generate pulse 

     

public

 

static

   

void

  OpenDrawer  (

byte

  DrawerNumber,

  byte

  PulseStartTime,

  byte

 

PulseEndTime); 

            [Range]             DrawerNumber    = 0,1,48,49 

 

 

 

0 <= PulseStartTime <=255 

 

 

 

0 <= PulseEndTime

<=255 

            [Description]         

Outputs the pulse specified by PulseStartTime and    

 

 

PulseEndTime to connector pin DrawerNumber    as follow : 

                               

 

On time= PulseStartTime

 x 2 millisecond 

                             

 

Off time=

 

PulseEndTime x 2 millisecond 

 

 

DrawerNumber    =0/48    Drawer kick –out connector pin 2

 

 

 

DrawerNumber    =1/49      Drawer kick –out connector pin 5. 

 

 

Transmit real-time status method 

public static void 

StatusInquiry (); 

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

Отзывы: