|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.analogics.thermalAPI.Bluetooth_Printer_2inch_ThermalAPI
public class Bluetooth_Printer_2inch_ThermalAPI
Use the methods in this Class to prepare the data to print with the Bluetooth printer and pass the return values to the methods in the class "com.analogics.thermalprinter.AnalogicsThermalPrinter"
Constructor Summary | |
---|---|
Bluetooth_Printer_2inch_ThermalAPI()
|
Method Summary | |
---|---|
java.lang.String |
BackSpace()
This methods will delete previous character in printer buffer. |
java.lang.String |
barcode_Codabar(java.lang.String data)
This method will print "Codabar" barcode Character set: 0-9, $, -, :, /, ., + . |
java.lang.String |
barcode_Code_128_Alpha_Numerics(java.lang.String data)
This method is to frame the data to print the barcode in Code_128 and the data is Alpha numerics.The barcode will be 10mm high and followed with human readable text. |
java.lang.String |
barcode_Code_128_Only_Alpabates(java.lang.String data)
This method is to frame the data to print the barcode in Code_128 and the data is only Alphabets.The barcode will be 10mm high and followed with human readable text. |
java.lang.String |
barcode_Code_128_Only_Numerics(java.lang.String data)
This method is to frame the data to print the barcode in Code_128 and the data is only Numerics.The barcode will be 10mm high and followed with human readable text. |
java.lang.String |
barcode_Code_39(java.lang.String data)
This method to frame the data to print barcode and followed with human readable text.Supported Character set:43 ASCII characters including A to Z (upper case only),0-9,.(period),- $,/,+,% and space. |
java.lang.String |
barcode_EAN_JAN_13(java.lang.String data)
This method will print "EAN_JAN_13" barcode it should requires 13 digits. |
java.lang.String |
barcode_EAN_JAN_8(java.lang.String data)
This method will print "EAN_JAN_8" barcode it should requires 8 digits. |
java.lang.String |
barcode_UCC_EAN_128(java.lang.String data)
The UCC/EAN-128 specification is an internationally recognized format for application identifiers in code 128 bar codes. |
java.lang.String |
barcode_UPC_A(java.lang.String data)
This method will print "UPC-A" barcode it should requires 12 digits. |
java.lang.String |
barcode_UPC_E(java.lang.String data)
This method will print "UPC-E" barcode it should requires 7 digits. |
java.lang.String |
barcodeOnly_Code_39(java.lang.String data)
This method to frame the data to print barcode only.Supported Character set:43 ASCII characters including A to Z (upper case only),0-9,.(period),- $,/,+,% and space. |
java.lang.String |
bell()
This method is to Causes the printer’s bell to sound |
java.lang.String |
cancel()
This method is to Deletes all data in the printer’s input buffer and resets the printer to power up default values. |
java.lang.String |
carriage_Return()
This methods will advance the paper by one line and set the position to beginning of next line. |
java.util.List<java.lang.String> |
Dynamic_ImagePrint(java.lang.String imagepath)
This method is to print the image ,pass the retutn value to the "print2inchImage" or "print3inchImage" methods in class "com.analogics.AnalogicsPrinter" Note:- use "print2inchImage" method for 2 inch thermal bluetooth printers and "print3inchImage" method for 3 inch thermal bluetooth printers Permissions needed ::: |
java.lang.String |
font_Courier_10(java.lang.String data)
This method will invokes the fontstyle "Courier" and "10" characters in a line and pass the return value to the "Call_Printer" method in the "com.analogics.AnalogicsPrinter" class to print . |
java.lang.String |
font_Courier_19(java.lang.String data)
This method will invokes the fontstyle "Courier" and "19" characters in a line and pass the return value to the "Call_Printer" method in the "com.analogics.AnalogicsPrinter" class to print |
java.lang.String |
font_Courier_20(java.lang.String data)
This method will invokes the fontstyle "Courier" and "20" characters in a line and pass the return value to the "Call_Printer" method in the "com.analogics.AnalogicsPrinter" class to print |
java.lang.String |
font_Courier_24(java.lang.String data)
This method will invokes the fontstyle "Courier" and "24" characters in a line and pass the return value to the "Call_Printer" method in the "com.analogics.AnalogicsPrinter" class to print |
java.lang.String |
font_Courier_25(java.lang.String data)
This method will invokes the fontstyle "Courier" and "25" characters in a line and pass the return value to the "Call_Printer" method in the "com.analogics.AnalogicsPrinter" class to print |
java.lang.String |
font_Courier_27(java.lang.String data)
This method will invokes the fontstyle "Courier" and "27" characters in a line and pass the return value to the "Call_Printer" method in the "com.analogics.AnalogicsPrinter" class to print |
java.lang.String |
font_Courier_29(java.lang.String data)
This method will invokes the fontstyle "Courier" and "29" characters in a line and pass the return value to the "Call_Printer" method in the "com.analogics.AnalogicsPrinter" class to print |
java.lang.String |
font_Courier_32(java.lang.String data)
This method will invokes the fontstyle "Courier" and "32" characters in a line and pass the return value to the "Call_Printer" method in the "com.analogics.AnalogicsPrinter" class to print |
java.lang.String |
font_Courier_34(java.lang.String data)
This method will invokes the fontstyle "Courier" and "34" characters in a line and pass the return value to the "Call_Printer" method in the "com.analogics.AnalogicsPrinter" class to print |
java.lang.String |
font_Courier_38(java.lang.String data)
This method will invokes the fontstyle "Courier" and "38" characters in a line and pass the return value to the "Call_Printer" method in the "com.analogics.AnalogicsPrinter" class to print |
java.lang.String |
font_Courier_42(java.lang.String data)
This method will invokes the fontstyle "Courier" and "42" characters in a line and pass the return value to the "Call_Printer" method in the "com.analogics.AnalogicsPrinter" class to print |
java.lang.String |
font_Courier_48(java.lang.String data)
This method will invokes the fontstyle "Courier" and "48" characters in a line and pass the return value to the "Call_Printer" method in the "com.analogics.AnalogicsPrinter" class to print |
java.lang.String |
font_Double_Height_Off()
This method will turn off double height font. |
java.lang.String |
font_Double_Height_On()
This method will double the height of font . |
java.lang.String |
font_Double_Height_Width_Off()
This method will turn off double height and double width font. |
java.lang.String |
font_Double_Height_Width_On()
This method will double the height and width of font. |
java.lang.String |
font_Emphasized_Off()
When this mode is enables the printer will decrease the intensity of fonts. |
java.lang.String |
font_Emphasized_On()
When this mode is enables the printer will increase the intensity of fonts. |
java.lang.String |
font_SansSerif_32(java.lang.String data)
This method will invokes the fontstyle "Sans Serif" and "32" characters in a line and pass the return value to the "Call_Printer" method in the "com.analogics.AnalogicsPrinter" class to print |
java.lang.String |
font_SansSerif_34(java.lang.String data)
This method will invokes the fontstyle "Sans Serif" and "34" characters in a line and pass the return value to the "Call_Printer" method in the "com.analogics.AnalogicsPrinter" class to print |
java.lang.String |
font_SansSerif_38(java.lang.String data)
This method will invokes the fontstyle "Sans Serif" and "38" characters in a line and pass the return value to the "Call_Printer" method in the "com.analogics.AnalogicsPrinter" class to print |
java.lang.String |
font_SansSerif_8(java.lang.String data)
This method will invokes the fontstyle "Sans Serif" and "8" characters in a line and pass the return value to the "Call_Printer" method in the "com.analogics.AnalogicsPrinter" class to print |
java.lang.String |
form_Feed()
This method will print the current line and advance to beginning of next line. |
static Bitmap |
getResizedBitmap(Bitmap bm,
int newHeight,
int newWidth)
|
java.lang.String |
horizontal_Tab()
This methods will Advances to the next horizontal tab stop. |
java.lang.String |
line_Feed()
This methods will advance the paper by one line and set the position to beginning of next line. |
byte[] |
prepare2InchImageData(java.lang.String address,
java.lang.String hexStr,
int height)
This method is to prepare the data to print the image in 2 inch Bluetooth printer pass the return value to the method "Call_PrintertoPrint(String address, byte[] printdata) |
java.lang.String |
print_Contrast(int n)
This method is to Contrast command can be used to increase or decrease print intensity. |
java.lang.String |
Reset()
This method is to Deletes all data in the printer’s buffer and resets the printer to power up default values. |
java.lang.String |
textLineSpacing(int n)
This method sets the number of dot rows to be inserted in between two successive character line. |
java.lang.String |
turn_Printer_Off()
This method is to Causes the printer to turn itself off |
java.lang.String |
variable_Size_Line_Feed(int n)
This method will advance printer by n dot lines(n x 0.125mm) ( the height of dot line is( 0.125 mm). |
java.lang.String |
variable_Size_Reverse_Line_Feed(int n)
This method will Causes paper to moved in reverse direction by n dot lines ( n x 0.125mm) Where n is 0 < n < 255 |
java.lang.String |
vertical_Tab()
This method will advances the paper five lines. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Bluetooth_Printer_2inch_ThermalAPI()
Method Detail |
---|
public java.lang.String font_Courier_10(java.lang.String data)
public java.lang.String font_Courier_19(java.lang.String data)
public java.lang.String font_Courier_20(java.lang.String data)
public java.lang.String font_Courier_24(java.lang.String data)
public java.lang.String font_Courier_25(java.lang.String data)
public java.lang.String font_Courier_27(java.lang.String data)
public java.lang.String font_Courier_29(java.lang.String data)
public java.lang.String font_Courier_32(java.lang.String data)
public java.lang.String font_Courier_34(java.lang.String data)
public java.lang.String font_Courier_38(java.lang.String data)
public java.lang.String font_Courier_42(java.lang.String data)
public java.lang.String font_Courier_48(java.lang.String data)
public java.lang.String font_SansSerif_32(java.lang.String data)
public java.lang.String font_SansSerif_34(java.lang.String data)
public java.lang.String font_SansSerif_38(java.lang.String data)
public java.lang.String font_SansSerif_8(java.lang.String data)
public java.lang.String font_Double_Height_On()
public java.lang.String font_Double_Height_Off()
public java.lang.String font_Double_Height_Width_On()
public java.lang.String font_Double_Height_Width_Off()
public java.lang.String textLineSpacing(int n)
public java.lang.String font_Emphasized_On()
public java.lang.String font_Emphasized_Off()
public java.lang.String carriage_Return()
public java.lang.String BackSpace()
public java.lang.String horizontal_Tab()
public java.lang.String line_Feed()
public java.lang.String variable_Size_Line_Feed(int n)
public java.lang.String variable_Size_Reverse_Line_Feed(int n)
public java.lang.String vertical_Tab()
public java.lang.String form_Feed()
public java.lang.String barcode_Code_39(java.lang.String data)
public java.lang.String barcodeOnly_Code_39(java.lang.String data)
public java.lang.String barcode_Code_128_Only_Alpabates(java.lang.String data)
public java.lang.String barcode_Code_128_Only_Numerics(java.lang.String data)
public java.lang.String barcode_Code_128_Alpha_Numerics(java.lang.String data)
public java.lang.String barcode_UCC_EAN_128(java.lang.String data)
public java.lang.String barcode_UPC_A(java.lang.String data)
public java.lang.String barcode_UPC_E(java.lang.String data)
public java.lang.String barcode_EAN_JAN_8(java.lang.String data)
public java.lang.String barcode_EAN_JAN_13(java.lang.String data)
public java.lang.String barcode_Codabar(java.lang.String data)
public java.lang.String bell()
public java.lang.String cancel()
public java.lang.String print_Contrast(int n)
public java.lang.String Reset()
public java.lang.String turn_Printer_Off()
public byte[] prepare2InchImageData(java.lang.String address, java.lang.String hexStr, int height)
public java.util.List<java.lang.String> Dynamic_ImagePrint(java.lang.String imagepath)
public static Bitmap getResizedBitmap(Bitmap bm, int newHeight, int newWidth)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |