[AccessD] A2K:Reading PDF

Gmail max.wanadoo at gmail.com
Thu Sep 6 05:13:17 CDT 2007


Daren,
Thinking of the top of my head, would it be possible to set a Macro
Recording ON, do the steps manually, turn the Macro OFF and then look at the
code?
HTH
Regards
Max
 

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren D
Sent: Thursday, September 06, 2007 10:49 AM
To: 'Access Developers discussion and problem solving'
Subject: [AccessD] A2K:Reading PDF

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

 

--
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com




More information about the AccessD mailing list