Hi Team,
I am using below code
$reportData->run()->export()
->settings([ // Ensure no PhantomJS settings are here
"useLocalTempFolder" => true,
"autoDeleteLocalTempFile" => true,
"autoDeleteTempFile" => true,
// "chromePath" => "/usr/bin/google-chrome", // Ensure the correct path to Google Chrome
"chromePath" => "/usr/bin/google-chrome",
"resourceWaiting" => 2000,
"serverLocalAddress" => "localhost",
// Remove any phantomjs setting if there are any.
])
->pdf([
"format" => $pageSize, // A4, A3, etc.
"orientation" => $pageOrientation,
"scale" => 1.5 // 150% zoom with Chromium
])
->toBrowser("export.pdf");
but while run below issues are occur
Could not find phantomjs executed file in bin folder
Note: when we use photomJs its working fine but we need scale option for pdf with 150% zooming