Package | Description |
---|---|
net.printer.utils |
Modifier and Type | Method and Description |
---|---|
static BitmapToByteData.BmpType |
BitmapToByteData.BmpType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BitmapToByteData.BmpType[] |
BitmapToByteData.BmpType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static byte[] |
BitmapToByteData.downLoadBmpToSendData(android.graphics.Bitmap mBitmap,
BitmapToByteData.BmpType bmpType)
Convert bitmap into byte [] and can be sent directly to the printer, and it is only a static method in this class
For the use of definition download bitmaps instruction
|
static byte[] |
BitmapToByteData.downLoadBmpToSendTSCData(android.graphics.Bitmap mBitmap,
BitmapToByteData.BmpType bmpType)
Convert bitmap into byte [] and can be sent directly to the printer, and it is only a static method in this class
provide TSC to dowload bitmap date for send
|
static byte[] |
BitmapToByteData.flashBmpToSendData(android.graphics.Bitmap mBitmap,
BitmapToByteData.BmpType bmpType)
Convert bitmap into byte [] and can be sent directly to the printer, and it is only a static method in this class
provide to dowload Flash bitmap
|
static byte[] |
BitmapToByteData.rasterBmpToSendData(int m,
android.graphics.Bitmap mBitmap,
BitmapToByteData.BmpType bmpType)
Convert bitmap into byte [] and can be sent directly to the printer, and it is only a static method in this class
provide to printer to printe the raster bitmap
|