public class PrinterControl
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
PrinterReturnCode |
close()
Initiate command to close Printer interface.
|
PrinterReturnCode |
feedLine(int lineCount)
Initiate command to feed line.
|
PrinterReturnCode |
getStatus()
Initiate command to get Printer status.
|
PrinterReturnCode |
print(java.lang.String dataToPrint,
PrinterPrintType dataType)
Initiate command to print.
|
public PrinterReturnCode close()
PrinterReturnCode
public PrinterReturnCode feedLine(int lineCount)
lineCount
- the number of lines that will be ejected.PrinterReturnCode
public PrinterReturnCode print(java.lang.String dataToPrint, PrinterPrintType dataType)
dataToPrint
- data what will be printed.dataType
- data what will be printed. Possible options: PrinterPrintType
PrinterReturnCode
public PrinterReturnCode getStatus()
PrinterReturnCode