General discussion

Locked

.NET Printing ESC/code to printer

By tinus ·
Hi,
I need to convert our label program from vb6 to .NET. It prints ESC codes to a EPSON TM-L60II printer. We use it for barcode and other printers.
I can't find a way to print directly to the printer in .NET, VB2008?
Does anybody know how to do this?

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

If you are talking a locally connected

by Tony Hopkinson In reply to .NET Printing ESC/code to ...

printer e.g. LPT1 / COM1

I found this

http://www.codeproject.com/KB/vb/Comport_made_simple.aspx

Looks to me if you twiddle with create file, and knock up a class to write to a stream you should be away.

Have n't tried it though, last time If did this sort of thing was Delphi on NT4 way way back when.

Collapse -

Thanks

by tinus In reply to If you are talking a loca ...

Thanks Tony
I will check it out.

Back to Peripheral Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums