Re: Create PDFs from Word docs using command line?

Subject: Re: Create PDFs from Word docs using command line?
From: Chris Morton <salt -dot- morton -at- gmail -dot- com>
To: techwr-l -at- lists -dot- techwr-l -dot- com
Date: Thu, 8 Jul 2010 09:58:23 -0700

Aargh! Did *I* just do that? Of course I meant "its." :slaps wrist:

On Thu, Jul 8, 2010 at 9:57 AM, Chris Morton <salt -dot- morton -at- gmail -dot- com> wrote:

> I use WinBatch <http://www.winbatch.com/> to automate repetitive
> Windows-based tasks such as this. It's SendKeysTo command works great.
> WinBatch is FAR simpler than VB, although can be coerced into doing just
> about anything. For example:
>
> DirChange(*a DOC* *directory*)
> a = FileItemize("*.doc*")
> n = ItemCount(a, @TAB)
> For j = 1 to n
> Display(3, "Now printing...", a)
> SendKeysTo = "~Word", "!fp{OK}"
> Next
> Message("All done!", "What now, brown cow?")
>
> ..changes to a specified folder containing the DOC and DOCX files ready to
> print. It then counts the number of files and prints each in succession,
> alerting you about the status of each file as it does so. Lastly, it
> requires an acknowledgement from you taht the job is complete.
>
> You'll find the WB online help community to be extremely responsive and
> helpful!
>
> > Chris (who has no affiliation with the company, but swears by WinBatch)
> On Thu, Jul 8, 2010 at 9:05 AM, Viv Crawford <viv_crawford -at- hotmail -dot- com>wrote:
>
>>
>> Hello
>>
>> I'm having an attack of the lazies and hoping some of you clever people
>> can help.
>>
>>
>>
>> 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...)
>>
>>
>>
>> Thanks.
>>
>> _________________________________________________________________
>> http://clk.atdmt.com/UKM/go/197222280/direct/01/
>> We want to hear all your funny, exciting and crazy Hotmail stories. Tell
>> us now
>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>
>> 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.
>> http://www.doctohelp.com/
>>
>>
>> ---
>> You are currently subscribed to TECHWR-L as salt -dot- morton -at- gmail -dot- com -dot-
>>
>> To unsubscribe send a blank email to
>> techwr-l-unsubscribe -at- lists -dot- techwr-l -dot- com
>> or visit
>> http://lists.techwr-l.com/mailman/options/techwr-l/salt.morton%40gmail.com
>>
>>
>> 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
>> http://www.techwr-l.com/ for more resources and info.
>>
>> Please move off-topic discussions to the Chat list, at:
>> http://lists.techwr-l.com/mailman/listinfo/techwr-l-chat
>>
>>
>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

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.
http://www.doctohelp.com/


---
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 http://lists.techwr-l.com/mailman/options/techwr-l/archive%40web.techwr-l.com


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
http://www.techwr-l.com/ for more resources and info.

Please move off-topic discussions to the Chat list, at:
http://lists.techwr-l.com/mailman/listinfo/techwr-l-chat


References:
Create PDFs from Word docs using command line?: From: Viv Crawford
Re: Create PDFs from Word docs using command line?: From: Chris Morton

Previous by Author: Re: Create PDFs from Word docs using command line?
Next by Author: Re: Strategies for handling multiple e-mail systems and accounts?
Previous by Thread: Re: 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