Link to home
Start Free TrialLog in
Avatar of wulffra
wulffra

asked on

Acrobat 8 - Batch Processing - Convert Word to PDF - Javascript

I would like to batch convert word (.doc) files to PDF
a) PDF's to name after the Word-files  xyz.doc becomes xyz.pdf
b) I donot want to view the results (no opening windows, that i need to close after
   first confirming the filename etc.
c) PDF shd be searchable

i.e. I want to rmb-click a number of files - then convert them all into PDF's
Max I shd see is the progress bar, i.e. no popping up Word- and Acrobat windows

Any idea how to do this?
Is there a javascript available that I can use under:
Advanced Menu "Advanced -
Document Processing -
Batch Processing".
Create a new Batch Sequence
??

tks
==
Avatar of huynhcaoky
huynhcaoky

Answer for Acrobat - Batch Processing - DocConvert:
- Advance -> Batch Processing-> New Sequence -> Name it "DocConvert"
- Put option:
     - 1. Select sequence of commands: No commands.
     - 2. Run commands on: Selected Folder => Browse to your docs folder. It contains your doc files.
              - Source File Options: Microsoft Office
     - 3. Select Output Location: Same Folder as Original
              - Output Option:
                   - File Naming => Same as Original
                   - Save File As => Adobe Pdf Files
                        - Choose more option if you want in Setting Button.
                                   
ASKER CERTIFIED SOLUTION
Avatar of huynhcaoky
huynhcaoky

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of wulffra

ASKER

Thanks a lot! I have run this on a folder containing -say- 30 docfiles. All went fine upto  a moment where it stopped half-way a conversion of a doc-file (300kb, so not too big).
I had to stop the process.
This means that -say- 10-15 files have been coverted, the rest has not been converted.

I deleted that specific document and ran the batch conversion again. It stumpled on another document and stopped. Have discovered that the documents are not straightforward documents with just only text, but they contained a table, e.g. something from a website that has been pasted into the word-documents.
I then tried to manually convert the document: open the word-doc. - print -> Adobe PDF - it looked as if Adobe started to do the job, but at some point stopped whilst writing .tmp-files and did not show the finished .pdf-file, i.e. the Word .doc remained on top, no PDF file showing up.

Aparently Acrobat 8 has a problem converting such documents.

Anyway...

under the RMB button of Explorer there is an item that says: Converting to PDF. Normally, if I were to select a file and click on that item, it wud start the conversion of that specific file (with all the popping up Word and PDF windows and prompting me to save the file, i.e. the usual stuff).

When I click on that item (RMB - convert to PDF) it will now start the conversion of the entire folder.
(it will start the DocConvert batch).

There is another item under the RMB-buttons (Convert to PDF and e-mail). This still converts the single file, but asks to save the file (same name) and then launches Outlook.

In fact, I wud like to have a possibility to :
FolderDocConvert
FileDocConvert

Any further suggestions.
Your solution helped me a lot already though !!

T h a n k s

brgds=
I might chime in here with my 2 cents.

To state the obvious, Acrobat on the desktop is not intended to be used for large-scale document conversion batches.  Yes, it can do it, but only to a point as you can see.  It's not fully automated.

It is also against the licensing terms of Acrobat to use it on a server machine for the use of multiple people or for automated conversions.  I don't know if that's what you're doing...that's just so you know.

If you have to convert large numbers of documents, Adobe sells other products for this - such as LiveCycle PDF Generator - that will do this job for you.  I'm sure other companies do as well, but I'm not familiar with any of them.

Again, just my 2 cents.