Print To File Type
I need to have the Print To File option unchecked when the printdialog is
displayed.
I also need to default the Type to PDF so if the user chooses to print to a
file, PDF will be the current selection.
User could choose another file type if they wish I just want the default
option to be PDF.
Is that possible?
Thanks
displayed.
I also need to default the Type to PDF so if the user chooses to print to a
file, PDF will be the current selection.
User could choose another file type if they wish I just want the default
option to be PDF.
Is that possible?
Thanks
This discussion has been closed.
Comments
There is no built in way to alter the order of the file types listbox in the
print dialog. The devices are ordered based on when they are registered.
One option would be to create a custom print dialog and change the
AddFileDevices routine.
Another would be to manually access the combo box and use its routines to
alter the order of the devices.
uses
ppPDlg;
TppPrintDialog(Report.PrintDialog).cbxPrintToFileTypes
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com