|
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 -- This is the PC Technical Discussion for iSeries Users (PcTech) mailing list To post a message email: PcTech@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/pctech or email: PcTech-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/pctech. This email is for the use of the intended recipient(s) only. If you have received this email in error, please notify the sender immediately and then delete it. If you are not the intended recipient, you must not keep, use, disclose, copy or distribute this email without the author's prior permission. We have taken precautions to minimize the risk of transmitting software viruses, but we advise you to carry out your own virus checks on any attachment to this message. We cannot accept liability for any loss or damage caused by software viruses. The information contained in this communication may be confidential and may be subject to the attorney-client privilege. If you are the intended recipient and you do not wish to receive similar electronic messages from us in future then please respond to the sender to this effect.
As an Amazon Associate we earn from qualifying purchases.
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.