public class cmdEJournal extends DatecsFiscalDevice
Modifier and Type | Class and Description |
---|---|
static class |
cmdEJournal.EjDocumentType
'A' Всички видове документи.
|
Constructor and Description |
---|
cmdEJournal() |
Modifier and Type | Method and Description |
---|---|
void |
printEjDocumentsByDateRange(boolean CondensedFont,
java.lang.String StartDataTime,
java.lang.String EndDataTime,
cmdEJournal.EjDocumentType DocType)
Printing all document of selected type founded in data range
|
void |
printEjDocumentsByNumbersRange(boolean CondensedFont,
java.lang.String DocNumStart,
java.lang.String DocNumEnd,
cmdEJournal.EjDocumentType DocType)
Printing all document of selected type founded in number range
|
java.lang.String |
printEjDocumentsInZReport(boolean CondensedFont,
java.lang.String StartDocNumber,
java.lang.String EndDocNumber,
java.lang.String ZreportNumber,
cmdEJournal.EjDocumentType DocType)
Printing the all documents with range StartDocNumber-EndDocNumber, founded in all Z reports with range
StartZreport - EndZreport
Filter the documents that are selected, depending on DocType argument.*
|
java.lang.String |
readEjDocumentsByDateRange(java.lang.String StartDate,
java.lang.String EndDate,
cmdEJournal.EjDocumentType DocType)
Reading all document of selected type founded in data range
|
java.lang.String |
readEjDocumentsByNumbersRange(java.lang.String DocNumStart,
java.lang.String DocNumEnd,
cmdEJournal.EjDocumentType DocType)
Reading all document of selected type founded in number range
|
java.lang.String |
readEjDocumentsInZReport(java.lang.String StartDocNumber,
java.lang.String EndDocNumber,
java.lang.String ZreportNumber,
cmdEJournal.EjDocumentType DocType)
Returns the all documents with range StartDocNumber-EndDocNumber, founded in all Z reports with range
StartZreport - EndZreport
Filter the documents that are selected, depending on DocType argument.*
|
java.lang.String |
readEjInfo()
Information from EJ
|
void |
setUserBreak(boolean userBreak)
Interrupts the thread process
|
void |
validateEj() |
checkErrorCode, close, getConnectedECRV1, getConnectedModelV2, getConnectedPrinterV1, isConnectedDeviceV2, isConnectedECR, isConnectedPrinter, setConnectedModel, setConnectedModel, setConnectedModel
public void printEjDocumentsByDateRange(boolean CondensedFont, java.lang.String StartDataTime, java.lang.String EndDataTime, cmdEJournal.EjDocumentType DocType) throws java.lang.Exception
CondensedFont
- StartDataTime
- EndDataTime
- DocType
- java.lang.Exception
public void printEjDocumentsByNumbersRange(boolean CondensedFont, java.lang.String DocNumStart, java.lang.String DocNumEnd, cmdEJournal.EjDocumentType DocType) throws java.lang.Exception
CondensedFont
- DocNumStart
- DocNumEnd
- DocType
- java.lang.Exception
public java.lang.String readEjDocumentsByNumbersRange(java.lang.String DocNumStart, java.lang.String DocNumEnd, cmdEJournal.EjDocumentType DocType) throws java.lang.Exception
DocNumStart
- -First document in the period (1...99999999)DocNumEnd
- -Last document in the period. (1...99999999).DocType
- -Type of document;java.lang.Exception
public java.lang.String readEjDocumentsByDateRange(java.lang.String StartDate, java.lang.String EndDate, cmdEJournal.EjDocumentType DocType) throws java.lang.Exception
StartDate
- -Date of document to start searchingEndDate
- -Date of document to stop searchingDocType
- -Type of document filter;java.lang.Exception
public java.lang.String readEjDocumentsInZReport(java.lang.String StartDocNumber, java.lang.String EndDocNumber, java.lang.String ZreportNumber, cmdEJournal.EjDocumentType DocType) throws java.lang.Exception
StartDocNumber
- -First docEndDocNumber
- -Last DocZreportNumber
- -Begin Z reportDocType
- -Type of document filter;java.lang.Exception
public java.lang.String printEjDocumentsInZReport(boolean CondensedFont, java.lang.String StartDocNumber, java.lang.String EndDocNumber, java.lang.String ZreportNumber, cmdEJournal.EjDocumentType DocType) throws java.lang.Exception
StartDocNumber
- First docEndDocNumber
- Last DocZreportNumber
- Begin Z reportDocType
- -Type of document filter;java.lang.Exception
public java.lang.String readEjInfo() throws java.lang.Exception
java.lang.Exception
public void validateEj() throws java.lang.Exception
java.lang.Exception
public void setUserBreak(boolean userBreak)
userBreak
-