[AccessD] A2K:Reading PDF

Darren D darren at activebilling.com.au
Thu Sep 6 04:49:15 CDT 2007


Hi All

 

I have a need to open about 70 PDF files and get pages 1 and 2 of each pdf file
and output only page 1 and 2 of each of the 70 to another file - then merge them
altogether in one file

 

EG 

 

001.pdf may have 50 pages - I need to open it - somehow extract page 1 and 2 and
then save pages 1 and 2 of 001.pdf to file name say.001a.pdf - close it then
move to 002.pdf - repeat for all 70 files

 

So I end up with the same number of files as I originally had but only with page
1 and 2 of the originals in each one - make sense?

 

Sounds like a big ask - I really am not expecting anyone to have done it - I'm
just looking for pointers 

 

I was thinking - 

 

1        Open file (This bit I can do) 

2        With the open file print to file pages 1 and 2 (This bit I can't do) 

3        save the 'new' pages 1 and 2 to file 001a.pdf (This bit I can't do)

4        loop all the other PDFs in a folder and repeat (This bit I can do)

5        Then merge all the 001a.pdf, 002a.pdf, 003a.pdf etc files into one file
(This bit I can do)

 

Thanks team

 

Darren

 




More information about the AccessD mailing list