[Gllug] Printing part of each of a large number of PDFs

Jack Bertram jack at jbertram.net
Fri Dec 2 08:13:19 UTC 2005


* John Winters <john at sinodun.org.uk> [051202 08:05]:
> I've got a large pile of PDF files, each of which contains Mathematics
> worksheets.  The trouble is they're in no particular order and there
> isn't a master index.  Within each file the first two pages provide an
> index of the sheets within that file.
> 
> Does anyone know of a PDF handling utility which will allow me to print
> the first two pages of all of them automatically?  Loading them one by
> one into a PDF reader and then printing the first two pages is very
> tedious.

Something like:

pdf2ps file.pdf | lpr -o page-ranges=1-2 -

should work?  You could easily modify to print the first two pages of
all your files.

cheers,
j

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20051202/deb194d8/attachment.pgp>
-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list