node-escpos
node-escpos copied to clipboard
strikethrough
hello! please show me the way to write text StrikeThrough
printer.style("u") b => bold u => underline i => italic combo (bu, bi, iu, etc...)
we should put it on the doc, I guess
Yes, please, add it to the documentation, because the comment you have put I do not understand it, and I would go great this option for a project with which I am right now ...
Thank you.
EDIT: okey, sorry, now I understand, I had confused with arrow functions EDIT2: switch with all the options: https://github.com/song940/node-escpos/blob/c6cd2d3cd224bdeb6bfb41686d85393178f4f9df/printer.js#L184
that's it (sorry for confusion about arrow functions) there is no StrikeThrough, but you can use some other styles
I'm tested in epson tm-t82II but not work(italic and strike) Italic:"\x1b\x34\x01" strikethrough:"\x1B\x28\x2D\x03\x00\x01\x02\x02"(I don't thing it right) doc: http://www.compuprint.com/docs/archive/i4056p.pdf I readed in phpesc and they said convert to image and print rasterimage :). You can close issue if only way print image
I will not close this issue because there is a real missing data in the doc
+1