Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / July 2007

Tip: Looking for answers? Try searching our database.

Printing Envelope along with Form.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jeffery B Paarsa - 14 Jul 2007 21:26 GMT
Hi,

I have developed a template that opens a user form and in user form I
collect name and address and then I print the form.  

Now I would like to also stack up envelope on my printer stack tray and
print an envelope using info. that I have collected from the user form and
print an evelope too which uses totally differnt tray in the printer.  Any
suggestion, sample code?
Signature

Jeff B Paarsa

Doug Robbins - Word MVP - 14 Jul 2007 23:18 GMT
To Word, an envelope is really just a document.  I would suggest that you
create another template for your envelope with DocVariable fields in that
template to contain the elements of the name and address and then have code
in your userform create a new document from that template, set the values of
the document variables in that document to the data from your userform,
update the fields in that document and then have it print it out to the
appropriate tray.

Signature

Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

> Hi,
>
[quoted text clipped - 5 lines]
> print an evelope too which uses totally differnt tray in the printer.  Any
> suggestion, sample code?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.