![]() ![]() PrintPreviewDialog printPrvDlg = new PrintPreviewDialog() ![]() Uncomment if debugging - shows dialog instead Ps.PrinterName = "EPSON TM-T20II Receipt" PrinterSettings ps = new PrinterSettings() RecordDoc.PrintController = new StandardPrintController() // hides status dialog popup RecordDoc.PrintPage += new PrintPageEventHandler(ReceiptPrinter.PrintReceiptPage) // function below RecordDoc.DocumentName = "Customer Receipt" PrintDocument recordDoc = new PrintDocument() public static void PrintReceiptForTransaction() Here's some code that worked well for me. I'm using an Epson TM-T20II receipt printer. ![]() Net ended up being a pain to get working and ultimately didn't work as well as the built-in libraries. Net, I ended up just abandoning those and just using the built-in libraries. I know this is an old post, but for those still looking for a solution, I can tell you what I did.Īfter spending many hours messing with OPOS and POS for. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |