Printing in c sharp
i have a bill from the following format
Billno :
Customer :
Date :
Product Price Qty
----------------------------------------------
----------------------------------------------
Total :
Receipt :
Thanks visit again!
And i want to stop the printing when printing 'Thanks visit again!' This line Using c sharp
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Suthish NairRank #92 · 22.8K reputationPosted Sep 21, 2011, 12:01 PM EDT
Sam HobbsRank #107 · 20.5K reputationPosted Sep 21, 2011, 4:27 PM EDT
The Wiindows API GDI has two Device Contexts (DCs) and normally one is used for the screen and the other for the printer.