ACTEBS
actebs at actebs.com.au
Thu Sep 6 11:13:15 CDT 2007
Darren, Try the open source PDF Creator. It has heaps of programming examples and methods of interacting with PDF files. You'll find it here: http://www.pdfforge.org/ HTH Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, 7 September 2007 12:50 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] A2K:Reading PDF Hi Darren I think you can use Ghostscript for this - but I'm no expert. Call a series of command line commands ... /gustav >>> darren at activebilling.com.au 06-09-2007 11:49 >>> 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