Copyright (C) 2008 by Steve Litt, All rights reserved. Material provided as-is, use at your own risk.
Contents
|
|
Other PDF Related Pages |
pdftoppm [options] PDF-file PPM-rootThe PPM-root argument is a string, with no spaces, to serve as the common part of all the .ppm page files that will be created. In this case the only option we'll use is the -r option to specify a resolution of 300 dots per inch -- plenty to prevent major pixellation:
[slitt@mydesk junk2]$ pdftoppm -r 300 formtx.pdf mytx |


gs -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=myfile.pdf -f myfile*.psThat's it -- you've combined all the pages into one PDF file. The pages are in the right order because you named each page with a number that was zero-front-filled, so myfile00001.ps would sort before myfile00004.ps which would sort before myfile00011.ps.