Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Print To File Type

edited February 2009 in General
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

Comments

  • edited February 2009
    Hi E.C.,

    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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.