KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Different PDF output for Windows and Linux using Phantomjs -2.1.1 #853

Open Keerthiga opened this topic on on May 7, 2019 - 1 comments

Keerthiga commented on May 7, 2019

Hi team, I am trying to convert a html page to PDF using Koolreport PDF. When generating the PDF on Windows I get the result fit to the page. But, in my Linux server it shown small size. Can you please help to resolve the issue.

KoolReport commented on May 7, 2019

Yes, there is different between two versions of phantomjs in Windows and Linux, what you can do here is tweak the "zoom" parameter in pdf() function:

->pdf(arrray(
    "zoom"=>2
))

The zoom to 2 should be applied in linux.

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
None yet

None