Continuing the discussion from How do I put a ticket note on the paper? :
I am trying to print multi line ticket note,using {NOTE} on ticket template, it appears properly on ticket screen and also on Notepad demo printer but only the first line gets printed on my thermal ticket printer.
regards
Anil
If its showing fine on the notepad demo, it is more likely to do with your thermal printer not supporting word wrapping.
Have a read of this, it might give you an idea
div’s justified alignment adds spaces between all words until both sides of line reaches to the printable area boundaries. This is not what you want as you want to add spaces only before price until it reaches to the end. <J> tag does it by adding spaces to the point you define by adding a pipe (|) char. However that only works for single line. So if you need that long product names you can use smaller font to prevent wrapping.
If you need long names, big fonts and proper alignment you’ll need …
1 Like