C
C#3y ago
square.

Need help comprehending EPSON printer commands

Currently sending commands from app to thermal printer via bluetooth, i followed the printer's api to the best of my understanding and still don't understand why it's not printing the expected output... Refer to images for more details... Image 1) Printer output, blue shaded areas correspond to expected horizontal tab settings. Image 2) C# code Image 3 & 4) Tab-setting documentation
No description
No description
No description
No description
2 Replies
Renn
Renn3y ago
It sounds like you need to combine all tab positions in one command. And the positions appear to be absolute column values. So try writer.WriteAsync((byte)6); writer.WriteAsync((byte)9); assuming that you want tab stops at columns 6 and 9. And I assume you have to cast to byte because the docs say that tab stops are 0-255, which is the range of a single byte.
square.
square.OP3y ago
alright, that solved it. thank you so much... i tried combining it earlier but it wasnt working turns out i had to cast it into byte first
Want results from more Discord servers?
Add your server