Printing current page
Hello,
I use TppViewer (Version 10.07) to display the report preview.
Before the end user can start printing he can adjust the printer settings
(Print all pages, print current page, print range...).
If one selects the "print current page" option, only the first page of the
report (which contains subreports) is printed all the time independendly
from the page he is currently viewing.
All other functions work fine (printing range...).
How can I make "print current page" option work?
best regards
Jo
I use TppViewer (Version 10.07) to display the report preview.
Before the end user can start printing he can adjust the printer settings
(Print all pages, print current page, print range...).
If one selects the "print current page" option, only the first page of the
report (which contains subreports) is printed all the time independendly
from the page he is currently viewing.
All other functions work fine (printing range...).
How can I make "print current page" option work?
best regards
Jo
This discussion has been closed.
Comments
Try setting the TppReport.CurrentPage property before making a call to
print.
ppReport1.CurrentPage := ppViewer1.CurrentPage.PageNo;
ppReport1.Print
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com