Direct Print a webreport

How can I direct print a report without using the webreport or Preview?

Comments

  • edited 6:06PM
    In webmode, you cannot print a report directly. You can export it to PDF and then print using Adobe Acrobat reader.
  • edited 6:06PM
    How to export to pdf directly?
    AlexTZ wrote: »
    In webmode, you cannot print a report directly. You can export it to PDF and then print using Adobe Acrobat reader.
  • edited 6:06PM
    Use the PDFExport class:

    Report report = new Report();
    report.Load(...);
    report.RegisterData(...);
    report.Prepare();
    PDFExport exp = new PDFExport();
    MemoryStream stream = new MemoryStream();
    exp.Export(report, stream);
    // now put this stream in the page response....

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.