c# - Print using epson esc/p2 on TM U325D -
i print text in bold style using epson esc commands, however, when use esc f, lose first letter.
serialport.write(new char[] { (char)27, (char)69 }, 0, 2); serialport.write("line in bold");
i got:
ine in bold
i guess missing send printer.
you need use byte[]:
serialport.write(new byte[] { 27, 69 }, 0, 2); serialport.write("line in bold");
using char creates unicode characters utf16...
Comments
Post a Comment