set which printer to send with printout method of word

D

dramy

hi all,
when i'm calling printout function of a word document it sends the document
to the default printer.
i want to determine which printer to print the document. how can i do that?
i found a way to set the m_Word.ActivePrinter to the printer i want to print
to and after to restore to the default printer.
this works, but when the print is failed it is not restored to the default
printer.
i want to do it with the printout method, but i didn't found any argument
that specifies to which printer to send the file.
please help,
thank you,
ramy dulman.
 
W

Word Heretic

G'day "dramy" <[email protected]>,

The way you do it is the way I do it, because, as you surmised, the
printout method doesn't give you a destination.

Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice


dramy reckoned:
 
D

dramy

thats wat i was not hoping for.
but you have to work with what you got.

thanks,
ramy.
 

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