Scaling issue when printing report

1 Answer 208 Views
General Discussions Rest Service
Tursunkhuja
Top achievements
Rank 2
Iron
Iron
Veteran
Tursunkhuja asked on 14 Apr 2023, 10:09 AM

When we print a report from WinUI report viewer, it looks like small scaled or resized report content. This is happened only when we containerized Telerik reporting service. You can see the screenshots below to compare.

This is example of test report when Telerik reporting service is running in Docker:

 

This is example of test report when Telerik reporting service is running without Docker:

 

The scaling issue happening only when printing, but when you export everything is fine. How we should fix this issue?

 

Thanks.

 

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Todor
Telerik team
answered on 19 Apr 2023, 09:01 AM

Hi Tursunkhuja,

If I understood correctly, you use the WinUI Report Viewer with a Reporting REST Service. When you deploy the REST Service on a Docker container, there is a scaling problem when printing from the viewer. Do you use Linux or Windows on the container?

Generally, the desktop viewers, when printing, render or request the reports in IMAGEPrint format - see Available Export Formats. When the document is served by the REST Service, the rendering is with the DPI settings of the server machine.

The scaling of the exported document may be controlled by the dpiAware Element. I suggest testing reconfiguring this element in the configuration file of your REST Service.

Regards,
Todor
Progress Telerik

Brand new Telerik Reporting course in Virtual Classroom - the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products. Check it out at https://learn.telerik.com/.
Tursunkhuja
Top achievements
Rank 2
Iron
Iron
Veteran
commented on 01 Jun 2023, 04:49 AM

Thank you Todor, 

Your suggestion fixes the problem partially. There is support ticket opened with this question. I replied to that ticket.

 

Tags
General Discussions Rest Service
Asked by
Tursunkhuja
Top achievements
Rank 2
Iron
Iron
Veteran
Answers by
Todor
Telerik team
Share this question
or