Click here to Skip to main content
14,333,124 members
Rate this:
Please Sign up or sign in to vote.
See more:
is there any function that helps me count number of pages i printed in a computer?
Posted

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

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[^]
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100