× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Office macros, bleahhh.  I've never been able to grasp what I've done wrong
to have absolutely ZERO success in developing them.  What should be a
20-minute development of the macro to save two hours of manual labor
invariably turns out to be a 4-hour exercise in futility and frustration.
So you know where I stand, eh?

Anyway, I *do* appreciate the suggestion, but I did find a way to do it that
works for me because all of the documents are in the same folder.  Use
Word's Open, select all the files you want to print, click on Tools, then
Print.  Works like a charm.

- Dan

On 10/10/06, Jones, John (US) <John.Jones@xxxxxxxxxx> wrote:

There doesn't appear to be a print switch in Word/Office 2003.  Best
thing I can see is to write a macro that will do the printing and then
do

winword /mprintmacroname filename.doc where the first parm is /m
followed by the macro name with no spaces inbetween.

I found this in Word by going in to help and searching for "command line
switches" and selecting "Customizing how Word starts".

There appears to be some 3rd party utils as well if you don't want to
write the macro.  Dunno if the utils would be free.

John A. Jones, CISSP
Americas Information Security Officer
Jones Lang LaSalle, Inc.
V: +1-630-455-2787 F: +1-312-601-1782
john.jones@xxxxxxxxxx

-----Original Message-----
From: pctech-bounces@xxxxxxxxxxxx [mailto:pctech-bounces@xxxxxxxxxxxx]
On Behalf Of Dan
Sent: Tuesday, October 10, 2006 1:11 PM
To: PC Technical Discussion for iSeries Users
Subject: [PCTECH] Print a bunch of Word docs from a batch file

I've tried:
    winword d:\dev\test1.doc /p
    winword d:\dev\test2.doc /p
    winword d:\dev\test3.doc /p
    winword d:\dev\test4.doc /p
in a batch file, but all that happens is that Word opens up the
documents for editing.

I just want to print a bunch of documents from a batch file.  No
intervention, just print to the default printer.  FWIW, WinXP Pro SP2,
Word
2002 SP3.  I also have installed WordViewer, which I tried in place of
winword, to no effect.

Easy, right?

TIA,
Dan

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.