
(4)public static void BT_Write (byte[] out, int dataLen)
Parameter:out:byte data need to send
dataLen:data length
3. Print and line feed
public static void LF();
4. Print and carriage return
public static void CR();
5. Print a self-test page
public static void SelftestPrint ();
print position related methods
1. Set right-side character spacing
public static void SetRightSpacing (byte Distance);
[Range] 0 <= Distance <= 255
[Description] Sets the character spacing for the right side of the character to :
[Distance×0.125 mm (Distance×0.0049’’)]
2. Set absolute print position
public static void SetAbsolutePrintPosition (byte nL, byte 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 the print position is :
[(nL + nH×256)×0.125 mm]
3. Set relative print position
public static void SetRelativePrintPosition (byte nL, byte nH);
[Range] 0 <=nL <=255 0 <=nH <=255
[Description] Sets the print starting position based on the current position using
horizontal or vertical motion units.This command sets the
distance from the current position to:
[(nL + nH ×256) ×0.125 mm]
4. Select default line spacing
public static void SetDefaultLineSpacing ();
[Description]
5. Set line spacing
public static void SetLineSpacing (byte LineSpacing);
[Range] 0 <= LineSpacing <= 255
[Description] Sets the line spacing to [n×0.125 mm]
6. Set left margin