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?