How to make event handdling when a specific Document printed ??
how to make event handdling when a specific document that sent to printer was printed?
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Master BillaRank #2,229 · 630 reputationPosted Aug 10, 2009, 7:19 PM EDT
You can use the EndPrint event this, this is raise when last page print.
PrintDocument doc; doc.EndPrint += new PrintEventHandler(doc_EndPrint); void doc_EndPrint(object sender, PrintEventArgs e) { // you can use this }Thank you
abas shahen50 reputationPosted Aug 15, 2009, 2:57 AM EDT
Master BillaRank #2,229 · 630 reputationPosted Aug 15, 2009, 3:55 AM EDT