Get Printer Departments [GETDEPTTABLE]
Method Name: GETDEPTTABLE
Read the departments actually stored in the fiscal printer
Request:
No Parameters
Response:
Level | Node Name | Node Value(s) | Notes |
---|---|---|---|
1 | DeptTable | ||
2 | Department | This node is repeated for each department | |
3 | Index | <integer> | The fiscal printer department index |
3 | Code | <integer> | |
3 | Description | <string> | |
3 | VATCode | <string> | |
3 | SalesType | <string> | |
3 | EACode | <string> | |
3 | EADescription | <string> | |
3 | EAVatMode | <integer> |
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
For Epson printers and driver version 20, only the first 25 departments are returned
This method can cause a automatic ZREPORT in case on IsOpenDay=true