How do I find the OutPut Device?
I have a report, which I set the TppReport.Device to dvScreen so that I cna
print preview. When I go to print (from the Preview screen), my report
still shows the device as dvScreen.
Basically, I want to hide some components when the report goes to the
printer, but display them in Print Preview.
Thanks
print preview. When I go to print (from the Preview screen), my report
still shows the device as dvScreen.
Basically, I want to hide some components when the report goes to the
printer, but display them in Print Preview.
Thanks
This discussion has been closed.
Comments
In the Report.BeforePrint event check
if (Report.PrinterDevice <> nil) then
{printing to the printer}
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
printing and are back at PrintPreview, won't I?