command line print

R

Robert

I have a *.bat file with the following commands to open each file,
print it, save it, and then exit out of Word

start /wait winword file1.rtf /mFilePrintDefault /mFileSaveAll
/mFileExit
start /wait winword file2.rtf /mFilePrintDefault /mFileSaveAll
/mFileExit
start /wait winword file3.rtf /mFilePrintDefault /mFileSaveAll
/mFileExit
.. .
.. .
..< several hundred files >.


I have the /mFileSaveAll command in place because I was getting
prompted with "Do you want to Save changes". The above worked great
for printing until
I was informed we can not be changing the data/time stamp.

Therefore I'm stuck with the below,

start /wait winword file1.rtf /mFilePrintDefault /mFileExit

and now get the Save prompt. I think the Save prompt is coming from
changes to hardware printer drivers ?? even though I'm on a network.
Any help about either a command to put in the command line code to
issue a "NO" to Save prompt or some MS-Word option to prevent Save
prompt would be much appreciated. I already unchecked the prompt for
saves to normal.
-Thanks
R
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top