• Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

PDF data

How do you mean? The data in a table in a PDF? Can you not just highlight, copy and paste into something like excel? Am I missing something?
 
The report I might be getting will be really big and not really an option for cutting and pasting - I want something which will take a PDF and pump the data to a text file so that I can pull it into a database. Excel can't do more than 65000 rows and this will be a lot bigger.
 
pdftotext is distributed with most *nixes and you can get it on Windows as part of cygwin, too.

http://en.wikipedia.org/wiki/Pdftotext

Edit - if you follow the link in the wikipedia article, there appears to be a download compiled with MSVC which does not require cygwin.
 
Last edited: 20:45
pdftotext is distributed with most *nixes and you can get it on Windows as part of cygwin, too.

http://en.wikipedia.org/wiki/Pdftotext

Edit - if you follow the link in the wikipedia article, there appears to be a download compiled with MSVC which does not require cygwin.

Just tried that... works ok(ish) tables don't seem to come out of it too well though and it would be difficult to programmatically work with the resulting text file.
 
That is what I have been finding with all the free ones. They do things like drop the minus symbol also, which is a pain when it appears in some of the server names we have here (but not all). Also, they are not consistant when handling tables. Sometimes they place data from 3 columns in 3 seperate rows and other times they just join it all together.
 

Advertisers

Back
Top