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

Print to File Types

edited December 2004 in General
I'm using Waler for printing only to PDF from the print dialog box. Is
there a way to remove "Text File" and "Report Emulation Text File" from
the "Type" List?

Thanks,
Ivan

Comments

  • edited December 2004
    -----------------------------------------------------
    Tech Tip: Controlling Available Print To File formats
    -----------------------------------------------------

    How can I limit which file formats are displayed by
    the print dialog?


    Formats can be registered and unregistered via code.

    Example:


    uses
    ppDevice;



    {add some file formats}

    ppRegisterDevice(TppTextFileDevice);
    ppRegisterDevice(TppReportTextFileDevice);
    ppRegisterDevice(TppArchiveDevice);



    {remove some file formats}

    ppUnRegisterDevice(TppTextFileDevice);
    ppUnRegisterDevice(TppReportTextFileDevice);
    ppUnRegisterDevice(TppArchiveDevice);


    --
    Tech Support mailto:support@digital-metaphors.com
    Digital Metaphors http://www.digital-metaphors.com






    --

    Nard Moseley
    Digital Metaphors Corporation
    www.digital-metaphors.com



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.