Atozed Forums

Full Version: Best method for print report
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,
I would like to Known ,
what is the best way for print report i, on intraweb 15 ?

There are some third part library like,
fastreport
rave report
or other one

but what is best soluce ?

thank's a lot for your help

Best regards
Hi. In my case, the best for me is FastReport to generate PDFs.
(09-26-2020, 02:38 PM)Jose Nilton Pace Wrote: [ -> ]Hi. In my case, the best for me is FastReport to generate PDFs.

+1
Я использую FastReport в своей работе. Теперь я делаю отчеты в IntraWeb. Поделитесь своим опытом. После подготовки PDF-файла, как вы отображаете его на экране?
You can send the PDF as a stream, or save it to the temp cache and serve it as a file link.
Check the discussion in these threads, in particular look at concerns and options for dealing with threading issues in report libraries:

https://www.atozed.com/forums/showthread...02#pid2402

https://www.atozed.com/forums/showthread...28#pid2928


Dan
I have a ready-made report file in PDF format. It is written to disk. How can I now display it on the screen using IW ? TIWImage does not work with PDF files...
There are several demos showing how to display PDFs

https://github.com/Atozed/IntraWeb/search?q=pdf
(01-31-2021, 10:13 AM)Сергей Александрович Wrote: [ -> ]I have a ready-made report file in PDF format. It is written to disk. How can I now display it on the screen using IW ? TIWImage does not work with PDF files...

As Chad indicated, there are several ways to do it.  One is shown in the CGIRunner demo referenced in the discussions I linked earlier.  That one uses the IWModalWindow, which is probably the easiest.    Since you already have the report generated, you can check the ModalWindow demo... I think there is an example there as well.

Dan
Thank you very much. Everything turned out with the use of IWModalWindow.