KoolReport's Forum

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

Delay when exporting to pdf #1659

Open AugustoViti opened this topic on on Oct 9, 2020 - 1 comments

AugustoViti commented on Oct 9, 2020

The function to export view in pdf takes a long time when generating the pdf to the point of reaching the maximum execution time. my function is like this:

      $report->run()
      ->export()
      ->pdf(array(
          "width"=>"200px",
          "height"=>"95px",
          "zoom" => 0.4,
          "margin"=>array(
              "top"=>"5px",
              "bottom"=>"5px",
              "left"=>"5px",
              "right"=>"0px"
          ),
      ))
      ->toBrowser("report.pdf", true);

how to solve this?

David Winterburn commented on Oct 12, 2020

Hi Augusto,

Please let us know how big/long is your report's pdf? Does the export speed improve if you doesn't include page header/footer or use any option like zoom, etc?

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