Page 1 of 1

Current page number in footer?

Posted: Thu Sep 22, 2005 5:11 pm
by Guest
Is it possible to print the current page number (and similar type information as num. of pages) as part of a footer, so each page printed shows which page it is?

Posted: Thu Sep 22, 2005 5:37 pm
by Sergey Tkachenko
If you need a plain text header and footer, use OnPagePrepaint event.
See the demo in Demos\Delphi\Assorted\Printing\Printing\

Thanks

Posted: Mon Oct 03, 2005 8:41 pm
by Guest
If you need a plain text header and footer, use OnPagePrepaint event.
Damn, i never thought of looking at it that way, thanks.