![]() Is the printer name correct in the source code?” Page.DrawPicture(p, 10, 0, p.Width * scale, p.height * scale, 0, 0, p.Width, p.height)Ĭonst PrinterName = “EPSON TM-T20II Receipt” So it cuts the paper and then prints the DrawPicture and then doesn’t cut Not sure how to make it wait until the page.DrawPicture is done. I took Christians suggestion and tried printing the raw PostScript to the thermal receipt printer and it worked! The only issue is that it prints the raw postscript first instead of after my “DrawPicture”. Page.DrawPicture(p, 10, 0, p.Width * scale, p.Height * scale, 0, 0, p.Width, p.Height) 'XOJO code-works for printing my graphics but need to autocut at end.ĭim p As New Picture(Rectangle1.Width, Rectangle1.Height) Prn.SendStringToPrinter(PrinterName, PrintString) Below is my VB.net code and my what I have so far for Xojo. Can some one help with sending the codes to the printer. I know my codes are right because I have it working in a VB.net app and I copied it from that (below). ![]() I can print the graphics fine but I want to send the rawdata command to cut the paper and can’t get it to work. ![]() I have a Epson TM-T20II printer I’m trying to print graphics and rawdata to.
0 Comments
Leave a Reply. |