You can register and unregister each output device as you need before the report prints using the ppRegisterDevice and ppUnRegisterDevice methods. For example...
uses ppDevice, ppFilDev;
...
begin ppUnRegisterDevice(TppTextFileDevice); ppUnRegisterDevice(TppReportTextFileDevice); ppUnRegisterDevice(TppArchiveDevice); end;
Comments
You can register and unregister each output device as you need before the
report prints using the ppRegisterDevice and ppUnRegisterDevice methods.
For example...
uses
ppDevice,
ppFilDev;
...
begin
ppUnRegisterDevice(TppTextFileDevice);
ppUnRegisterDevice(TppReportTextFileDevice);
ppUnRegisterDevice(TppArchiveDevice);
end;
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
user to preview the report on screen ?
Take a look at the following example. It shows how to easily replace the
preview dialog with one that has the print button hidden.
http://www.digital-metaphors.com/tips/PreviewerHidePrintButton.zip
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Thank you for the tip. Now it works so as i need it. :-)
Regards
Robert