CP810 User Manual
http://www.corewise.cn
2014
13
AsynPrinter printer;
printer
.setOnPrinterListener(
new
OnPrinterListener() {
@Override
public
void
onPrinterSuccess() {
}
@Override
public
void
onPrinterFail(
int
code) {
if
(code == Printer.
PRINT_NO_PAPER
) {
}
else
if
(code == Printer.
PRINT_TIMEOUT
) {
}
}
});
3. public void Printf(String Buffer);
Print the string
/**
* @param bold
* @param underline
* @param height
* @param width
*/
4.
public void setFontFormat(boolean bold,boolean underline,boolean height,boolean width );
Set the font bold, underline, double higher, double width.
5. public void printImage(byte[] data)
Print bitmap, width is less than 384 pixels, 500 pixels high not more than, 1bit on behalf of
1 pixels.
6. public void setBarCodePosition(int position)
Position( 1:left 2:middle 3:right)
Note:
Can communicate via Bluetooth and serialport.
Содержание CP810
Страница 2: ...CP810 User Manual http www corewise cn 2014 2 Profile Picture Pictorial Illustrations...
Страница 3: ...CP810 User Manual http www corewise cn 2014 3...
Страница 18: ...CP810 User Manual http www corewise cn 2014 18...
Страница 19: ...CP810 User Manual http www corewise cn 2014 19 One of the Typical Applications...