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

pdf export

edited April 2006 in General
Where can I find the code example to output a report directly to pdf without
previewing it first?

Thanks,
Bob

Comments

  • edited April 2006
    Also, without displaying any type of dialog.

    Thanks,
    Bob

  • edited April 2006
    Haven't used the PDF feature yet but wouldn't it be the same
    as other prints

    showprintdialog := false;
    Just a guess on my part.

    JonD

  • edited April 2006
    Hi Bob!

    If you haven't found out.
    Here is from RB 10 help file:
    "
    uses
    ppPDFDevice;
    begin
    ppReport.AllowPrintToFile := True;
    ppReport.ShowPrintDialog := False;
    ppReport.DeviceType := 'PDF';
    ppReport.TextFileName := 'C:\Temp\myPDFFile.pdf';
    ppReport.PDFSettings.Author := 'RB Master';
    ppReport.PDFSettings.Title := 'Export to PDF!';
    ppReport.PDFSettings.OpenPDFFile := True;
    ppReport.Print;
    end;
    "
    Kind regards
    TorB.

    *****

    "Bob Tucker" skrev i melding
This discussion has been closed.