PDF Export not exporting images, not exporting data in given fonts and not exporting as it display in page

1 Answer 226 Views
PDF Export
Srinivas
Top achievements
Rank 2
Iron
Veteran
Iron
Srinivas asked on 10 Jun 2021, 06:50 AM

Hi Team,

I'm trying to use PDF Export to print documents i.e. invoice and delivery order.
But not able to achieve as expected.

1. Added images not exporting
2. Given fonts not coming
3. I want to export exact in display size but it is not coming as I expected

 

Can you reply with proper examples.

Regards,

Srinivas M. P.

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 14 Jun 2021, 02:52 PM

Hi Srinivas,

Indeed without checking the implemented logic, I cannot determine what causes the reported issues, but I can provide some articles which might be found helpful.

1. I am not sure why the image was not exported, but in this article, there are a couple of demos that demonstrate how to export images and configure their resolutions (SVG included). 

2. The developer needs to define the font as demonstrated in this article from our documentation.

3. Based on the provided details I am not able to understand how the page looks like and how it is exported in the PDF. However, there are a few properties that can be used to customize the exported PDF file layout like scale, margin, landscape, paperSize.

In order to be able to provide a more accurate solution to the discussed points, I will need some details about the implementation like code snippets of the HTML and TS file and screenshots of the exported PDF. Ideally, provide a runnable demo that reproduces all discussed points so that I can debug it.

Thanks for your cooperation.

Regards,
Martin
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
PDF Export
Asked by
Srinivas
Top achievements
Rank 2
Iron
Veteran
Iron
Answers by
Martin
Telerik team
Share this question
or