public interface DevicePrinter
Modifier and Type | Field and Description |
---|---|
static int |
ALIGN_CENTER |
static int |
ALIGN_LEFT |
static int |
ALIGN_RIGHT |
static String |
BARCODE_CODE128 |
static String |
BARCODE_EAN13 |
static String |
DIM2CODE_QR |
static int |
FONT_0 |
static int |
FONT_1 |
static int |
SIZE_0 |
static int |
SIZE_1 |
static int |
SIZE_2 |
static int |
SIZE_3 |
static int |
STATUS_ASB_OFF |
static int |
STATUS_ASB_ON |
static int |
STATUS_DRAWER |
static int |
STATUS_PAPER |
static int |
STYLE_BOLD |
static int |
STYLE_PLAIN |
static int |
STYLE_UNDERLINE |
Modifier and Type | Method and Description |
---|---|
void |
beginLine(int iTextSize,
int iFont) |
void |
endLine() |
JComponent |
getPrinterComponent() |
String |
getPrinterDescription() |
String |
getPrinterName() |
List<Byte> |
getStatus(Integer status_type) |
void |
openDrawer(int deviceNumber,
boolean printJob) |
void |
printBarCode(String sType,
String sCode,
Integer iMargin) |
void |
printCutPartial() |
void |
printDim2Code(String sType,
String sCode,
String sSize,
int iEcl) |
void |
printImage(BufferedImage image,
int iAlign) |
void |
printRawText(String sText) |
void |
printStoredImage() |
void |
printText(int iStyle,
String sText) |
void |
reset() |
void |
setAttributesTicket(OutputTypeAttrTicket oVal) |
static final int FONT_0
static final int FONT_1
static final int SIZE_0
static final int SIZE_1
static final int SIZE_2
static final int SIZE_3
static final int STYLE_PLAIN
static final int STYLE_BOLD
static final int STYLE_UNDERLINE
static final int ALIGN_LEFT
static final int ALIGN_RIGHT
static final int ALIGN_CENTER
static final String BARCODE_EAN13
static final String BARCODE_CODE128
static final String DIM2CODE_QR
static final int STATUS_PAPER
static final int STATUS_DRAWER
static final int STATUS_ASB_ON
static final int STATUS_ASB_OFF
String getPrinterName()
String getPrinterDescription()
JComponent getPrinterComponent()
void reset()
void printImage(BufferedImage image, int iAlign)
void beginLine(int iTextSize, int iFont)
void printText(int iStyle, String sText)
void printRawText(String sText)
void printStoredImage()
void endLine()
void printCutPartial()
void setAttributesTicket(OutputTypeAttrTicket oVal)
void openDrawer(int deviceNumber, boolean printJob)
Copyright © 2021. All rights reserved.