Re: Capture the print instruction by Jonathan
Jonathan
Wed Jan 12 09:23:20 CST 2005
"Bill Bowes" <Bill Bowes@discussions.microsoft.com> wrote in message
news:72091639-9746-459F-8B06-B503FF63F359@microsoft.com...
> 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.
--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup