Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Dos based printing using C#.net

i m using Dotmatrix printer EPSON for printing the reports, and i need the of how to print the reports without using crystalReport and print dialog, i.e. i want the code for DOS based printing in C#.net.........


1 Answers

I know a very old and dirty way. Just open LPT1 (or the printer port you are using) as a stream and output the characters.

like image 72
tekBlues Avatar answered Feb 18 '26 17:02

tekBlues



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!