Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
2021 Visualizzazioni

Hi,

I need to give the POS receipt a certain format. I have a text only printer with 32 characters width, and I need to set product string and price string a fixed length in order to fit as in the example. I have already modified pos.xml but can't set t-esc to a fixed length.
Example:

My product name

1 x                   $ 2,541.00

Other product name 

to 2 lines

2 x                  $ 14,641.00

* price need to increase to left side.

Avatar
Abbandona
Autore

No one knows how to format string to fixed length?