Klemen1337 / node-thermal-printer

Node.js module for Epson, Star, Tanca, Drauma and Brother thermal printers command line printing.
MIT License
765 stars 244 forks source link

[Feature request] string printer #252

Open yelhouti opened 5 months ago

yelhouti commented 5 months ago

It is often useful to show a preview of what is about to be printer, it would be great to have new printer of type string. the string could be used to print to the console for debugging, or transformed to an image, to preview what is about to be printed.

Klemen1337 commented 1 month ago

you can use getText() function to get a sort of preview