Pages

Showing posts with label save specific page. Show all posts
Showing posts with label save specific page. Show all posts

Printing or saving the first page (or specific pages) of pdf in Linux

Install pdftk using:

sudo apt-get install pdftk
or
sudo snap install pdftk


and use:

To save only the first page (in the terminal):

pdftk fileName.pdf cat 10-12 output outfile_p10-12.pdf

To save the first page:

pdftk fileName.pdf cat 1-1 output outfile_p1.pdf


You may be interested in these posts

Error in image file conversion: convert-im6.q16: not authorized `test.eps' @ error/constitute.c/WriteImage/1037.

This error is because of the vulnerability. This allows remote execution of code using image formats. So, some Linux distributions by defaul...