Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3 Odpowiedzi
7231 Widoki

Hi everyone,

In scenario 1 my EPSON TM-T20II printer is connected using USB to a RPI, and where the RPI acts as the main POS system.  In this case, I can modify the POS ticket template located in: /opt/odoo/addons/point_of_sale/static/src/xml/pos.xml to change the content and layout of the ticket which is printed.  This works fine and as expected.


Scenario 2, where my EPSON TM-T20II printer is connected to a POSBOX, and where a RPI connects to the POSBOX over Ethernet to print a customer-receipt ticket.  In this case, the layout changes which were implemented on the RPI seem not to be taken into account anymore - and the POSBOX seems to be using its own layout scheme. 

Which file (on the POSBOX I presume) do I need to edit/modify, in order to change the content and layout of the ticket which is printed by the POSBOX?

Thank you in advance!


Cheers,

Gioti

Awatar
Odrzuć
Najlepsza odpowiedź

You need to modify the template called XmlReceipt, that is the template used to print in the Posbox, be warned though that styling is quite limited since you can't use CSS. 

Awatar
Odrzuć
Autor Najlepsza odpowiedź

Unfortunately not

Awatar
Odrzuć
Najlepsza odpowiedź

Hi,

Did you get a solution for that problem ? Many thanks.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
kwi 16
4994
1
lut 17
3163
0
lut 21
2783
3
paź 17
5772
0
lis 15
4506