Print Dialog - Print To File

edited March 2011 in End User
RB Ent 11.08, Delphi 6.

This is related to my earlier question that you answered, "Show Print To
File Setup". (That has worked fine, by the way, thanks).

How can I tell if the user has selected the "Print To File" option from the
Print Dialog? I thought I'd be able to test the ppReport.DeviceType property
in the BeforePrint event, but this is still set to 'Printer', even though it
prints to file when you press OK.

Ideally, I'd like to be able to know which device type the user selected
from the drop down list.

I put a breakpoint in and checked through the reports' properties in
Delphi's Debug Inspector but could not see any clues.

Thanks,
Jason.

Comments

This discussion has been closed.