How can I write a strikethrough text to a printer that uses CP437 enconding?

42 views Asked by At

I want to print a strikethrough text to a printer that uses a Code Page 437. We support this functionality in TF-8 printers adding b"\x1b\x4c" between every character. b"\x1b\x4c" represents "~".

I tried using b"\x1b\x4c" but it doesn't work. I also tried to use the backspace command b"\x08" but it doesn't work either

1

There are 1 answers

1
Jose Sandoval On

Try using b"\xST". It stands for Strike