Get Status [GETSTATUS]
Method Name: GETSTATUS
Returns all parameters related to the status of the printer, fiscal printer o fiscal processor
Request:
No Parameters
Response:
Level | Node Name | Node Value(s) | Notes |
---|---|---|---|
1 | DeptTable |
|
|
2 | DayOpened | <boolean> | True = At least one receipt has been issued today (via PRINTFR) |
2 | DateTime | <datetime> | Current Date Time of the fiscal printer / fiscal processor |
2 | PaperEnd | <boolean> | True if printer has no paper |
2 | PaperNearEnd | <boolean> | True if the paper in the printer is near to its end |
2 | CoverOpen | <boolean> | True if the printer cover is open |
2 | FiscalReceiptOpen | <boolean> | True if a fiscal receipt is currently open |
2 | ReceiptOpen | <boolean> | True if a no fiscal receipt is currently open |
2 | TrainingMode | <boolean> | True if “Training Mode” is active on the fiscal printer / fiscal processor |
2 | FirmwareVersion | <string> | Version of the Printer Firmware or versione of the fiscal processor |
2 | SerialNumber | <string> | Serial Number of the Printer |
2 | FiscalMode | <string> | Fiscal Mode set on the Fiscal Printer / Fiscal Processor |
Example
Request
<ReceiptPrinterManager Version="1.0">
<Method>GETDEPTTABLE</Method>
</ReceiptPrinterManager>
Response
<ReceiptPrinterManagerResponse>
<DeptTable>
<Department>
<Index>1</Index>
<Code>01</Code>
<Description>Articolo 22% Ateco1</Description>
<VATCode>2200</VATCode>
<SalesType>Product</SalesType>
<EACode>111111</EACode>
<EADescription/>
<EAVATMode>0</EAVATMode>
</Department>
<Department>
<Index>2</Index>
<Code>02</Code>
<Description>Articolo 10% Ateco1</Description>
<VATCode>1000</VATCode>
<SalesType>Product</SalesType>
<EACode>111111</EACode>
<EADescription/>
<EAVATMode>0</EAVATMode>
</Department>
</DeptTable>
</ReceiptPrinterManagerResponse>
For Epson printers and driver version 10, only the first 10 departments are returned