The "AdditionalHeader" and "AdditionalFooter" arrays can be used to add additional free text elements to the document.
Note: Currently (v1.11.0), these arrays are only used in Italy for printing additional receipt texts. Filling the array in other countries has no effect whatsoever.
AdditionalHeader
Texts in AdditionalHeader are sent to the printer as messageType="1" ("Additional Header").
The texts are positioned
- after the predefined document header (logo, company information) and
- before the fiscal data (e.g. text ‘DOCUMENTO COMMERCIALE’).
A maximum of 9 lines with 46 characters each can be specified.
Attention: If individual strings are longer than 46 characters, they will be automatically truncated. There will be NO automatic line breaks!
Example:
9 lines with 46 characters each; if more than 9 lines or more than 46 characters per line are specified, the ‘excess’ lines/characters will not be printed.
"additionalHeader": [
"1234567890123456789012345678901234567890123456"
"1234567890123456789012345678901234567890123456"
"1234567890123456789012345678901234567890123456"
"1234567890123456789012345678901234567890123456"
"1234567890123456789012345678901234567890123456"
"1234567890123456789012345678901234567890123456"
"1234567890123456789012345678901234567890123456"
"1234567890123456789012345678901234567890123456"
"1234567890123456789012345678901234567890123456"
],AdditionalFooter
Texts in AdditionalFooter are sent to the printer as messageType="2" ("Trailer Lines").
The texts are positioned:
- after ‘NUMERO CONFEZIONI’ and
- before ‘NUMERO CASSA’.
A maximum of 99 lines with 46 characters each can be specified.
Attention: If individual strings are longer than 46 characters, they will be automatically truncated. There will be NO automatic line breaks!
Example:
11 lines with 46 characters each; if more than 99 (!) lines or more than 46 characters per line are specified, the ‘surplus’ lines/characters will not be printed.
"additionalFooter": [
"1234567890123456789012345678901234567890123456"
"1234567890123456789012345678901234567890123456"
"1234567890123456789012345678901234567890123456"
"1234567890123456789012345678901234567890123456"
"1234567890123456789012345678901234567890123456"
"1234567890123456789012345678901234567890123456"
"1234567890123456789012345678901234567890123456"
"1234567890123456789012345678901234567890123456"
"1234567890123456789012345678901234567890123456"
"1234567890123456789012345678901234567890123456"
"1234567890123456789012345678901234567890123456"
],
Comments
0 comments
Please sign in to leave a comment.