Drivers of this interface handles connection to fiscal printers and fiscal registrators. There are 4 methods in IFiscalPrinter
:
print
- called when either bill paid or re-opened. TakesFiscalPrintRequest
as an argument with all the information about bill passed.zReport
- called when z-report is printed.operation
- called in some other cases. An operation defined by the type ofrequest
(2nd argument):FiscalOpenDrawerRequest
- drawer openedFiscalReprintRequest
- bill re-printedFiscalTestPrintRequest
- test print executedFiscalXReportRequest
- X-report printedFiscalZReportsByDatesRequest
- Z-reports by date range requestedFiscalZReportsByNumbersRequest
- Z-reports by number range requestedNonFiscalPrintRequest
- non-fiscal print requested
getSettings
- is a way to customize some default driver behaviourzReportByDatesKinds
- supported Z-report kinds printed by dates