Print raw data to a thermal-printer using c#

Posted by blauesocke on Stack Overflow See other posts from Stack Overflow or by blauesocke
Published on 2010-04-14T16:01:08Z Indexed on 2010/04/14 16:03 UTC
Read the original article Hit count: 1273

Filed under:
|

Hi,

I'm trying to print out raw ascii data to a thermal printer. I do this by using this code example: http://support.microsoft.com/kb/322091 but my printer prints always only one character and this not until I press the form feed button. If I print something with notepad the printer will do a form feed automatically but without printing any text.

The printer is connected via usb over a lpt2usb adapter and Windows 7 uses the "Generic -> Generic / Text Only" driver.

Anyone knows what is going wrong? How is it possible to print some words and do some form feeds? Are there some control characters I have to send? And if yes: How do I send them?

Thanks!

© Stack Overflow or respective owner

Related posts about c#

Related posts about thermal-printer