Re: Create PDFs from Word docs using command line?

Subject: Re: Create PDFs from Word docs using command line?
From: Mike Stockman <mstockman -at- gmail -dot- com>
To: TECHWR-L Writing <techwr-l -at- lists -dot- techwr-l -dot- com>
Date: Thu, 8 Jul 2010 12:28:38 -0400

On Jul 8, 2010, at 12:05 PM, Viv Crawford wrote:
> I routinely create PDFs from Word docs. These are usually fairly throwaway docs so I do it by printing to the Adobe PDF printer rather than by any of the cleverer ways.
> Can I do this at the command line? I've tried using the Print *.* and it tells me it's printing the first doc in the directory, but then does nothing else. Of course, for a PDF I should also have to tell it where to save the PDF to and what to call it.
> Happy to admit to being a complete command line amateur, (though I've recently discovered the joy of using it to move and rename files...)

Word won't do much directly from the command line; the usual way to tell it what to do is via a Visual Basic script. The last time I had to do this, I used this site <> as a starting point. The site's owner has done most of the work for you.

That site also has the advantage of coming up first on my Google search. :-) Although I did already have it bookmarked from a similar need a number of years ago.

Hope this helps,

Gain access to everything you need to create and publish information
through multiple channels. Your choice of authoring (and import)
formats with virtually any output. Try Doc-To-Help free for 30-days.

You are currently subscribed to TECHWR-L as archive -at- web -dot- techwr-l -dot- com -dot-

To unsubscribe send a blank email to
techwr-l-unsubscribe -at- lists -dot- techwr-l -dot- com
or visit

To subscribe, send a blank email to techwr-l-join -at- lists -dot- techwr-l -dot- com

Send administrative questions to admin -at- techwr-l -dot- com -dot- Visit for more resources and info.

Please move off-topic discussions to the Chat list, at:

Create PDFs from Word docs using command line?: From: Viv Crawford

Previous by Author: Re: Mac vs PC users
Next by Author: Re: Summary: Create PDF with spaces intact?
Previous by Thread: Create PDFs from Word docs using command line?
Next by Thread: Re: Create PDFs from Word docs using command line?

What this post helpful? Share it with friends and colleagues:

Sponsored Ads