From a5b4865cc143ce727fc871fd1675ef74c5b3b23c Mon Sep 17 00:00:00 2001 From: David Bomba Date: Mon, 30 Oct 2023 10:55:37 +1100 Subject: [PATCH 1/2] Fixes for command line options --- src/Snappdf.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Snappdf.php b/src/Snappdf.php index db199bd..937b571 100644 --- a/src/Snappdf.php +++ b/src/Snappdf.php @@ -40,7 +40,7 @@ public function __construct() '--no-first-run', '--no-margins', '--no-sandbox', - '--print-to-pdf-no-header', + '--no-pdf-header-footer', '--hide-scrollbars', '--ignore-certificate-errors', ]; From 2633951cc46a3eedf8c9140a889a4f20bee8f551 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Mon, 30 Oct 2023 11:04:50 +1100 Subject: [PATCH 2/2] Fixes for command line options --- src/Snappdf.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Snappdf.php b/src/Snappdf.php index 937b571..80deff6 100644 --- a/src/Snappdf.php +++ b/src/Snappdf.php @@ -40,6 +40,7 @@ public function __construct() '--no-first-run', '--no-margins', '--no-sandbox', + '--print-to-pdf-no-header', '--no-pdf-header-footer', '--hide-scrollbars', '--ignore-certificate-errors',