Domanda

I'm working with a Epson Tm U200B dot matrix printer (receipt printer). I got a template of the receipt in excel (some text and 2 images). It prints ok from excel, but now I'm doing and .net app to print from there.

The printer works on an COM serial port.

What:

  • Print a logo and some text in te same line: "[LOGO] THANK YOU"

What have I tried:

I took source code from many websites, forums, and here but nothing.

I'm hopeless and exhaust, trying almost anything I found on the internet... If someone have some experience with this, please help me.

È stato utile?

Soluzione

So, short answer:

I bought a Tm U220A which supports ESC/POS. Use PrintBitmap() function (OPOS.net) and reverse feed 2 lines, and print the text.

I know it's not the perfect workaround, but it works like a charm.

Altri suggerimenti

I feel your pain I spent all of last weekend working out receipt printing from a webbrowser.

As I mention in the above answer download jZebra library, it has a sample.html page and I recall seeing a Print Picture function.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top