Home Devices

Disabling PDF of Report Builder

edited August 2006 in Devices
Hi,

I'm using RB 10.04. Since I'm also using PsRBExportDevices from Pragnaan and
there is already a PDF format in that library, is there a way to disable the
export to PDF of ReportBuilder ?

Note that I want to keep ReportBuilder Text export formats. I only want to
disable the PDF format of ReportBuilder.

Thanks!

--
G. Plante

Comments

  • edited August 2006
    Hi,

    You can register and unregister each output device as you need before the
    report prints using the ppRegisterDevice and ppUnRegisterDevice methods.
    For example...

    uses
    ppDevice,
    ppFilDev,
    ppPDFDevice;

    ...

    begin
    ppUnRegisterDevice(TppTextFileDevice);
    ppUnRegisterDevice(TppReportTextFileDevice);
    ppUnRegisterDevice(TppArchiveDevice);
    ppUnRegisterDevice(TppPDFDevice);
    end;


    --
    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.