-
Notifications
You must be signed in to change notification settings - Fork 102
Open
Description
It's awesome. Thanks so much!
Printer printer = new Printer("EPSON TM-T(203dpi_1) Receipt6", "Shift_JIS");
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
Encoding encoding = Encoding.GetEncoding("Shift_JIS");
printer.InitializePrint();
printer.Append(new byte[] { 0x1B, 0x74, 0x12 });
printer.SetLineHeight(24);
string japaneseText = "テスト";
byte[] japaneseBytes = encoding.GetBytes(japaneseText);
printer.Append(japaneseBytes);
printer.FullPaperCut();
printer.PrintDocument();
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels