public class DevicePrinterText extends DevicePrinterXML implements DevicePrinter
m_CommOutputPrinter, m_sName
ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, BARCODE_CODE128, BARCODE_EAN13, DIM2CODE_QR, FONT_0, FONT_1, SIZE_0, SIZE_1, SIZE_2, SIZE_3, STATUS_ASB_OFF, STATUS_ASB_ON, STATUS_DRAWER, STATUS_PAPER, STYLE_BOLD, STYLE_PLAIN, STYLE_UNDERLINE
Constructor and Description |
---|
DevicePrinterText(PrinterWritter commOutputPrinter) |
Modifier and Type | Method and Description |
---|---|
void |
printText(int iStyle,
String sText) |
beginLine, endLine, getPrinterComponent, getPrinterDescription, getPrinterName, getStatus, initPrinter, openDrawer, printBarCode, printCutPartial, printDim2Code, printImage, printRawText, printStoredImage, reset, setAttributesTicket
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
beginLine, endLine, getPrinterComponent, getPrinterDescription, getPrinterName, getStatus, openDrawer, printBarCode, printCutPartial, printDim2Code, printImage, printRawText, printStoredImage, reset, setAttributesTicket
public DevicePrinterText(PrinterWritter commOutputPrinter) throws TicketPrinterException
TicketPrinterException
public void printText(int iStyle, String sText)
printText
in interface DevicePrinter
printText
in class DevicePrinterXML
iStyle
- not evaluatedsText
- The text will be passed unchanged to the printerCopyright © 2021. All rights reserved.