Hi:
In my vb.net application i have a task to calculate number of pages printed .
can any one send me vb.net code to accomplish this task. its very urgent.
thanks
Calculate printed pages using vb.net
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

vivek kulkarni132 reputationPosted Apr 5, 2009, 1:49 AM EDT
Hi,
You can use a pagenumber variable at module level and increment it in printpage event.
Printpage event of the printdocument control. here is a link on how to do it.
http://msdn.microsoft.com/en-us/library/system.drawing.printing.printdocument.printpage(VS.80).aspx
Thank you