DEV Community

Discussion on: Open Source Reporting Solution (FastReport) - Simple Demo with .NET Core

Collapse
 
zoltanhalasz profile image
Zoltan Halasz

Hi,

please check the sample app running, fastreport.zoltanhalasz.net/, print from browser. It seems to work fine here.
second option, try to use my code, and see if it works locally, it is using .net core 2.2 or below. github.com/zoltanhalasz/FastReport...
third option, save the prepared report in fpx format, and then install the Fastreport viewer fast-report.com/en/product/fast-re..., which can open it and save in pdf/xls, or print it.
Honestly I did not try with .net core 3.0 or above... no Idea why it doesn't work.

Collapse
 
jaygeek profile image
jaygeek ☕

UPDATE: Just learned they are on on holiday until January 11th!
That explains why I cannot get replies to my tickets or phone calls at all. I've build a .NET Core 3.1 solution. (Your example, though good, generates an embedded PDF (iframe) which prints with a dialog.) We can find no way in Core to print (without the print dialog, directly... as within my .NET Core console app which we will run as a Windows Service.)

Also, these objects seem to be completely undefined in Core, even though we've purchased their Enterprise product:
myReport.Report.PrintPrepared(settings);
myReport.Report.Print();

Please help any way you can!

Thread Thread
 
zoltanhalasz profile image
Zoltan Halasz

I really don't know the answer to your question. Try exporting the fpx file, and print it with the report viewer application, maybe this solves your question. But I didn't study this deeper to be able to help you.

Collapse
 
taalkathiri profile image
Tarik Alkathiri

First Of all thank you very much for your quick response.
sorry it was my mistake because im trying to press the icon it self i should click on the word says Print From Browser.
Please if you came across any thing that help with using fast report with Blazor.
Please kindly notify me on the following email: T.Alkathiri@Gmail.com.
I will much appreciate your help