Date: Thu, 18 Aug 2011 21:22:34 -0500
Reply-To: Ryan Boyle <ryanjames@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Ryan Boyle <ryanjames@GMAIL.COM>
Subject: Re: Comparing PDF files
Content-Type: text/plain; charset=ISO-8859-1
I was thrown off by this question, as well. PDF is rarely a native output -
it's usually the presentation layer for data with some formatting. What is
the source of your PDFs?
If you can output these as CSVs or some sort of raw data format before
building PDFs, SAS might be more helpful.
On Thu, Aug 18, 2011 at 8:20 PM, Nat Wooding <firstname.lastname@example.org> wrote:
> Since you posted this on the L, I assume that you want to use SAS.
> I am not aware of any easy way to read a PDF (and, I am assuming that your
> PDFs were created using Acrobat or one of the converter programs such as
> ODS) directly with SAS. In the past when I have needed to work with data
> stored in a PDF, I have used one of the on-line tools that create a text
> file from the PDF. If you have Adobe Acrobat (not just the reader), you
> could save your PDF as a text file. Otherwise, there are commercial
> such as PDF Converter for Windows 7. Some of these are able to do a
> conversion on all the PDFs in a folder. Once you converted you 1 plus 10
> pdfs, you could read them as text strings with SAS and , say, merge the
> matching lines and check to see if the strings are identical. Of course,
> could use a file comparison program to do this also.
> Nat Wooding
> -----Original Message-----
> From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of John
> Sent: Thursday, August 18, 2011 2:42 PM
> To: SAS-L@LISTSERV.UGA.EDU
> Subject: Comparing PDF files
> Hello all
> How can I compare pdf files?
> One pdf file (pdf1) is a large file and there are other 10 pdf files which
> make up to form PDF1 (ie., pdf1+pdf2+pdf3+...pdf10). I need to compare
> two pdfs. How can I do that?