Extract PDF Pages

Method 1

Simply print the pages you want as PDF. Most PDF viewers have this feature.

The problem with this solution is that the page dimensions may be altered.

Method 2

  1. Install GhostScript and run the following command

    $ gs -sDEVICE=pdfwrite -dNOPAUSE -dBATCH -dSAFER \
      -dFirstPage=22 -dLastPage=36 \
      -sOutputFile=outfile_p22-p36.pdf 100p-inputfile.pdf
    

Julio Batista Silva
Julio Batista Silva
Data Engineer

I’m a computer engineer passionate about science, technology, photography, and languages. Currently working as a Data Engineer in Germany.

comments powered by Disqus