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 / January 2005

Tip: Looking for answers? Try searching our database.

Capture the print instruction

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bill Bowes - 12 Jan 2005 15:09 GMT
When someone prints a document, I want to have a macro that adds a watermark
and header/footer information, but when the document is viewed on screen this
information is not visible.
What is the "capture print" instruction, I cant find it anywhere.
Jonathan West - 12 Jan 2005 15:23 GMT
> When someone prints a document, I want to have a macro that adds a
> watermark
> and header/footer information, but when the document is viewed on screen
> this
> information is not visible.
> What is the "capture print" instruction, I cant find it anywhere.

You need to create two macros, FilePrint and FilePrintDefault. These will
intercept the built-in Word commands of the same names. FilePrint is the one
that displays the Print dialog. FilePrintDefault prints a copy of the
document to the default printer without displaying a dialog.

Signature

Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup

 
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.