How to prevent users to print Microsoft Word documents?

@agihcam (1914)
Philippines
August 20, 2008 1:56am CST
I can do it in Excel but not in Word. Is there a way to prevent users from printing the documents, but they can view the documents? Please advice.
1 person likes this
1 response
@ferdzNK (3211)
• Philippines
20 Aug 08
How do you do it in Excel? using macro? Probably set something in ActiveDocument.PrintOut(...) and force it to print end of page plus one, I really don't know, but even if you did, I think opening it in OO would make that macro useless.
1 person likes this
@agihcam (1914)
• Philippines
20 Aug 08
Thanks for your interest with the excel. Yeah, if you did not consider the other lapses then it will be useless. Example, if the user did not enabled the macros, then it is useless already. so to have robust file, first, create a new sheet and named it anything you want, but put some text to inform user that such page was viewed when macro is disabled, so they cannot use the original work file unless they enabled the macro. create a macro before closing the file, to hide the original sheet and shows the sheet that you have created, and automatically saved the file. so every time the file is closed by the user, the default visible sheet is the one you have created. so when they disabled the macros, it is the one showing up and not the original sheet. then create an opening macro to view the original sheet and hide the sheet you have created, so when user enabled the macro, it will show the original sheet and hide the sheet you have created. finally, disabled the print events. that's it.
1 person likes this
@ferdzNK (3211)
• Philippines
20 Aug 08
That's mighty cleaver and you can't use that in word because there is no sheet, then maybe set page and font to one color and disable/hide tools that would change that if macro is not enabled.
@agihcam (1914)
• Philippines
20 Aug 08
O yeah sound possible, thanks for the idea. I can dig into it and will try to look for some codes and will post it here once I found the work around.