4

Anyone know a class written in C # or VB.NET that serves to print tickets in a mini printer? Printer: EPSON TM-U220PD

Thank you for your help.

Jonathan Edgardo
  • 393
  • 1
  • 8
  • 23

3 Answers3

3

If your invoice is something you can contain within a Stream (e.g. file-system file, in-memory object, etc.), you can probably easily use the PrintDocument class in the .NET Framework. MSDN has a simple example on how to use it.

This assumes that you need to use this in a Windows Forms environment.

David Hoerster
  • 27,923
  • 8
  • 65
  • 100
1

You will probably have to talk to the printer directly: How to send raw data to a printer by using Visual C# .NET

LarsTech
  • 79,075
  • 14
  • 143
  • 215
1

I have no idea if your application is a POS application or not. But you could try looking into the Microsoft POS for .NET v1.12 SDK & documentation and you could also look at this Stackoverflow question

Here also is the technical manual for your printer and the APOS ADK download.

Community
  • 1
  • 1
Mark Hall
  • 52,990
  • 9
  • 92
  • 107