PRINTING Question

edited 11:16PM in FastReport 4.0
I've created letters that I merge data with. Is there a way to print the page without the data?

Thanks
Wayne

Comments

  • edited 11:16PM
    After much trial and error I ended up printing the form with the designer in a Delphi project.
    I load the report, give the printer a title, get rid of the inspector and guide and the print.


    CloseDesigner;
    if DMOptions.LoadFRXReport(DMOptions.frxPROLetter, scode, 'EN') then
    RefreshfrxDesigner(nil);

    printer.Title :=
    q.FieldByName('lrCode').AsString
    + ' (' + q.FieldByName('lrType').AsString + ') '
    + q.FieldByName('lrDescription').AsString
    + '.pdf';


    Designer.Inspector.Visible := false;
    RulersMI.Click;
    GuidesMI.Click;

    self.Print;

Leave a Comment