Capture the print instruction

B

Bill Bowes

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.
 
J

Jonathan West

Bill Bowes said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top