Open michaelmruta opened 4 years ago
This is a really big deal, printing the sample ticket I got about 10 inches long! Also need to put text grouped for showing some tablet struct.
For now, I`m using processed images to fill these need, until got solutions this is a workaround.
let receipt = Receipt(.🖨️58(.ascii))
<<~ .style(.selectsCharacterFont(.c))
<<< "testing1"
<<< "testing2"
<<< "testing3"
<<< "testing4"
<<~ .page(.print)
there is a new line for every text i print, like the example below how can i fix this?
.plainText("Text A"), .plainText("Text")
.plainText("Text A\n Text B"), this works but i want to use the block w/ text alignment