"fbouabcha" <fb*******@hotmail.com> schrieb:
My pb is to know the total pages to print, because I want to print each
pages this format
"page n of M".
Are you using 'PrintDocument'? If you are doing so, you'll have to simulate
the printing process prior to printing the final result, count the calls of
the 'PrintPage' event handler and adjust the print content accodingly by
inserting the total number of pages.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>