Marc Kupietz | ce1aa0c | 2023-06-15 07:50:23 +0200 | [diff] [blame] | 1 | #!/bin/sh -eu |
2 | in=$1 out=$2 page0=${3:-} page1=${4:-$page0} | ||||
Marc Kupietz | fb80dc5 | 2023-06-18 14:31:50 +0200 | [diff] [blame] | 3 | google-chrome --no-sandbox --headless --no-pdf-header-footer --print-to-pdf="$out".tmp "$in" |
4 | pdfseparate -f 1 -l 1 "$out".tmp $out |