You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I was wondering if it is possible to print more text sizes between 1x and 2x with the correct aspect ratio.
The font size steps are extremely big.
2x font size (^^^) is about as big as I will ever print. Therefore it would be really nice to be able to print 1.5x
Could I achieve this by setting the default text size to 0.5x?
Then I would have the following result:
(none) = 0.5x
^^^ = 1x
^^^^ = 1.5x
^^^^^ = 2x
^^^^^^ = 2.5x
^^^^^^^ = 3x
Where in the code can I change this? I tried setting "textScale" to 0.5x but with no luck
Optimally I would want the following font sizes:
1x
1.25x
1.5x
1.75x
2x
2.5x
3x
Do you have support for this, or any tips?
Thanks
The text was updated successfully, but these errors were encountered:
Yes, the character sizes in receiptline are a bit strange compared to modern technology.
However, 50-year-old technology such as double width and double height characters are still in use in receipt printers.
So I will tell you how to modify receiptline.js to your desired specifications.
This will only work for SVG output.
If you want to print this SVG, convert it to PNG and then convert it to a printer command.
See example receipt/en_print_svg.js.
Hi, I was wondering if it is possible to print more text sizes between 1x and 2x with the correct aspect ratio.
The font size steps are extremely big.
2x font size (^^^) is about as big as I will ever print. Therefore it would be really nice to be able to print 1.5x
Could I achieve this by setting the default text size to 0.5x?
Then I would have the following result:
(none) = 0.5x
^^^ = 1x
^^^^ = 1.5x
^^^^^ = 2x
^^^^^^ = 2.5x
^^^^^^^ = 3x
Where in the code can I change this? I tried setting "textScale" to 0.5x but with no luck
Optimally I would want the following font sizes:
1x
1.25x
1.5x
1.75x
2x
2.5x
3x
Do you have support for this, or any tips?
Thanks
The text was updated successfully, but these errors were encountered: