Set Word Envelope Feed From Option

P

poolguard

i am trying to CHange the feed from option in word 2002 / 2003 with VBA the
option is located in word 2003 at Tools > Letters and Mailings > Envelopes
and Labels > Options >Print Options Tab > Feed From.

I want to be able to change this setting based on macro buttons that the
user can press for diffrent envelope types.

THanks
Chris
 
C

Cindy M.

Hi Chris,
i am trying to CHange the feed from option in word 2002 / 2003 with VBA the
option is located in word 2003 at Tools > Letters and Mailings > Envelopes
and Labels > Options >Print Options Tab > Feed From.

I want to be able to change this setting based on macro buttons that the
user can press for diffrent envelope types.
This isn't exposed in the object model, as far as I know. Probably because the
required information is printer-dependent (depending on how the current
printer driver "describes" the trays) and usually written to the Registry
(under HKCU\Software\Microsoft\Office\Word).

If you do some testing by changing the settings in the dialog box, then
checking what's written to the Registry, you could probably get the control
you're looking for by changing the Registry setting. However, if those using
your application may have various printers and you can't know ahead of time
which ones, this may not be feasible.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
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 :)
 
Top