1

Hello

First of all, Congratulations for developing such a great resource !

I am working on an assignment and I need to user your library to generate the reports into PDF.

The reports are generated in HTML form through database, and then I have a button to convert that to PDF. Everything is working fine.

But just 1 little problem. The top of the report has a Graphic Header (like a logo) on html its width is 750x54.

But when the PDF is generated, its size is increased and it becomes 860x64 thus the quality of the image becomes bad.
I tried to change the size of the original header graphics to 860x64, but in that case it goes out of the page on the right in PDF.

Please guide me how to resolve this issue .

Thanks
Zeeshan

2

hi !

try just to specify the width in the style of the img tag : <img src="..." style="width: 200mm" >
Ancien pseudo : lolo

3

Hi

Thanks a lot for your reply !
I am going to apply what you have suggested and I will let you know the result !