From a005c982bdd2b8b5da93cac9ad4b62fde57a6a60 Mon Sep 17 00:00:00 2001 From: isUnknown Date: Thu, 5 Mar 2026 09:17:21 +0100 Subject: [PATCH] Remove --print-background: not supported in installed pagedjs-cli version Co-Authored-By: Claude Sonnet 4.6 --- src/Services/PdfGenerator.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Services/PdfGenerator.php b/src/Services/PdfGenerator.php index cab6c5e..6e91688 100644 --- a/src/Services/PdfGenerator.php +++ b/src/Services/PdfGenerator.php @@ -56,7 +56,6 @@ class PdfGenerator $cmd .= escapeshellcmd($this->config['pagedjs_bin']); $cmd .= ' ' . escapeshellarg($url); $cmd .= ' -o ' . escapeshellarg($pdfFile); - $cmd .= ' --print-background'; if (!empty($options['timeout'])) { $cmd .= ' --timeout ' . (int)$options['timeout'];