Automate naming for print to file

J

Joe Steyaert

I am using VB6 to automate (amoung other things) the printing of word
documents to files. I would like to be able to pass the filename for the
print file instead of having the Filename message box come up. Is there a
parameter for this?
Office XP on Windows XP professional platform.
 
C

Cindy M -WordMVP-

Hi =?Utf-8?B?Sm9lIFN0ZXlhZXJ0?=,
I am using VB6 to automate (amoung other things) the printing of word
documents to files. I would like to be able to pass the filename for the
print file instead of having the Filename message box come up. Is there a
parameter for this?
Sure, it's right there in the Help topic for the PrintOut method:
OutputFilename

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :)
 
J

Joe Steyaert

I did find a couple places in Help Topics that said this cannot be done.
After this response I did find the one that listed the parameters necessary.
Interestingly, the editor did not auto-capitalize these parameters like it
does the others, but they did work after some slight modifications to the
print drivers. Thank you for prodding me in the right direction!
 

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