469,631 Members | 976 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,631 developers. It's quick & easy.

Automated printing in word

I've been looking everywher efor this but all I can find is that Word's
automation library doesn't allow you to pick a printer programatically...
Anyone know of a soluition?

Thanks,
cJ
Nov 20 '05 #1
5 1158
Hi CJ! :O)

You can use the Application.ActivePrinter property BUT it changes the
default Printer for the whole system... So i guess you have no other than to
reset the default printer like it was after the call to PrintOut.

--
Best Regards
Yanick Lefebvre

"CJ Taylor" <[cege] at [tavayn] dit commmmm> a écrit dans le message de
news:ON**************@TK2MSFTNGP10.phx.gbl...
I've been looking everywher efor this but all I can find is that Word's
automation library doesn't allow you to pick a printer programatically...
Anyone know of a soluition?

Thanks,
cJ

Nov 20 '05 #2
Yanick,

Thank you very much for that answer. Any idea why Microsoft made this
possible through Excel but not through Word? I'll give that a shot though
and go from there. Thanks again!

-CJ

"Zoury" <ya*************@hotmail.com> wrote in message
news:ej**************@TK2MSFTNGP11.phx.gbl...
Hi CJ! :O)

You can use the Application.ActivePrinter property BUT it changes the
default Printer for the whole system... So i guess you have no other than to reset the default printer like it was after the call to PrintOut.

--
Best Regards
Yanick Lefebvre

"CJ Taylor" <[cege] at [tavayn] dit commmmm> a écrit dans le message de
news:ON**************@TK2MSFTNGP10.phx.gbl...
I've been looking everywher efor this but all I can find is that Word's
automation library doesn't allow you to pick a printer programatically... Anyone know of a soluition?

Thanks,
cJ


Nov 20 '05 #3
Hi!
Any idea why Microsoft made this
possible through Excel but not through Word?


I'm no Office automation expert... i have no idea :O)
take a look at this though, it will take care of the default printer thing
http://support.microsoft.com/default...b;en-us;216026

--
Best Regards
Yanick Lefebvre
Nov 20 '05 #4
Printing in Word is certainly possible through automation.

oDoc.PrintOut(False, , , , , , , , , , , , , , , , , )

"Zoury" <ya*************@hotmail.com> wrote in message
news:Ob**************@TK2MSFTNGP09.phx.gbl:
Hi!
Any idea why Microsoft made this
possible through Excel but not through Word?


I'm no Office automation expert... i have no idea :O)
take a look at this though, it will take care of the default printer
thing
http://support.microsoft.com/default...b;en-us;216026


Nov 20 '05 #5
Yes... But you can't choose what printer you want it to go to.
"scorpion53061" <ad***@nospampleasekjmsolutions.com> wrote in message
news:e0**************@TK2MSFTNGP10.phx.gbl...
Printing in Word is certainly possible through automation.

oDoc.PrintOut(False, , , , , , , , , , , , , , , , , )

"Zoury" <ya*************@hotmail.com> wrote in message
news:Ob**************@TK2MSFTNGP09.phx.gbl:
Hi!
Any idea why Microsoft made this
possible through Excel but not through Word?


I'm no Office automation expert... i have no idea :O)
take a look at this though, it will take care of the default printer
thing
http://support.microsoft.com/default...b;en-us;216026

Nov 20 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Stefania Scott | last post: by
10 posts views Thread by Jeff B. | last post: by
reply views Thread by Lee Harris | last post: by
4 posts views Thread by scorpion53061 | last post: by
1 post views Thread by Laurent Navarro | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.