On Mon, Oct 04, 2021 at 11:11:44AM -0400, Todd Gruhn wrote:
> Is there a nice way to edit a PDF, and delete the blank page(s) at
> the beginning of the document?

I use ghostscript to select a page range into a new pdf.

if [ $# -lt 3 ] 
then
    echo "Usage: $0 <pdf> <strtPg> <endPg>"
    exit
fi
gs -sDEVICE=pdfwrite -dNOPAUSE -dQUIET -dBATCH -dFirstPage=$2 -dLastPage=$3 
-sOutputFile=split.pdf "$1"

-- 
Mayuresh

Reply via email to