public static class cmdReceipt.NonFiscalReceipt extends cmdReceipt
cmdReceipt.AlignmentType, cmdReceipt.FiscalReceipt, cmdReceipt.InvoiceClientInfo, cmdReceipt.NonFiscalReceipt, cmdReceipt.PaidMode, cmdReceipt.SeparatingLine, cmdReceipt.TotalResult
allReceipt
Constructor and Description |
---|
NonFiscalReceipt() |
Modifier and Type | Method and Description |
---|---|
int |
closeNonFiscalReceipt() |
boolean |
isOpen() |
java.lang.Integer |
open() |
void |
printNonFiscalText(java.lang.String text) |
void |
printNonFiscalText(java.lang.String text,
boolean Bold,
boolean Italic,
boolean DoubleH,
boolean Underline,
cmdReceipt.AlignmentType alignment) |
void |
printSeparatingLine(java.lang.String type)
Printing a Separating Text in non fiscal receipt
|
checkErrorCode, close, getConnectedECRV1, getConnectedModelV2, getConnectedPrinterV1, isConnectedDeviceV2, isConnectedECR, isConnectedPrinter, setConnectedModel, setConnectedModel, setConnectedModel
public java.lang.Integer open() throws java.lang.Exception
java.lang.Exception
public int closeNonFiscalReceipt() throws java.lang.Exception
java.lang.Exception
public boolean isOpen()
public void printNonFiscalText(java.lang.String text) throws java.lang.Exception
text
- java.lang.Exception
public void printSeparatingLine(java.lang.String type) throws java.lang.Exception
1 - Add text „по този бон“ 2 - Add frame '*'
type
- java.lang.Exception
public void printNonFiscalText(java.lang.String text, boolean Bold, boolean Italic, boolean DoubleH, boolean Underline, cmdReceipt.AlignmentType alignment) throws java.lang.Exception
text
- Bold
- Italic
- DoubleH
- Underline
- alignment
- java.lang.Exception