Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to Automate PDF file.
#4
Solved: 11 Years, 3 Months, 3 Weeks ago
The is the Easy way to do it - Automate PDF

The painful way to do it - pdftotext [ That is the name of the software. google it and you should get it].

Here is how you would use PDFtoText -

pdftotext version 0.92
Copyright 1996-2000 Derek B. Noonburg
Usage: pdftotext [options] <PDF-file> [<text-file>]
-f <int> : first page to convert
-l <int> : last page to convert
-ascii7 : convert to 7-bit ASCII (default is 8-bit ISO Latin-1)
-latin2 : convert to ISO Latin-2 character set
-latin5 : convert to ISO Latin-5 character set
-eucjp : convert Japanese text to EUC-JP
-raw : keep strings in content stream order
-upw <string> : user password (for encrypted files)
-q : don't print any messages or errors
-v : print copyright and version info
-h : print usage information
-help : print usage information

Example to use would be

Systemutil.run "c:\pdftotext.exe"," C:\toconvert.pdf c:\converted.txt"

This is a freeware and should be of no issue with respect to licensing or auditing. Why does your organization not allow ? Do they have any valid reason or is it just the whimps and fancy of some half baked sys admin ?
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Reply


Messages In This Thread
How to Automate PDF file. - by upadhyay40 - 04-26-2010, 04:33 PM
RE: How to Automate PDF file. - by basanth27 - 04-28-2010, 07:36 PM
RE: How to Automate PDF file. - by upadhyay40 - 05-17-2010, 03:46 PM
RE: How to Automate PDF file. - by basanth27 - 05-18-2010, 08:02 AM
RE: How to Automate PDF file. - by upadhyay40 - 05-18-2010, 05:32 PM
RE: How to Automate PDF file. - by basanth27 - 05-20-2010, 11:06 AM
RE: How to Automate PDF file. - by Saket - 06-28-2010, 12:06 AM
RE: How to Automate PDF file. - by basanth27 - 06-29-2010, 10:05 AM
RE: How to Automate PDF file. - by Saket - 06-29-2010, 11:20 AM
RE: How to Automate PDF file. - by mv8167 - 03-07-2012, 09:25 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Sad Save data from pdf file to a word doc Amar 0 2,623 12-12-2013, 12:29 PM
Last Post: Amar
  Retrieving Text from a PDF file smartkarthi 2 4,688 08-22-2013, 11:44 AM
Last Post: smartkarthi
  how to save a .pdf file in a browser window in qtp ssvali 15 20,579 09-24-2012, 06:14 PM
Last Post: Ankesh

Forum Jump:


Users browsing this thread: 5 Guest(s)