Disable printing in word document

Posted on 2006-05-18
Last Modified: 2012-06-27
Is it possible to disable printing in word document? I have a web application which loads up a word document and I want to prevent users from printing the word document.

Thanks for the help.
Question by:rospcc
    LVL 31

    Expert Comment

    I don't know of such a way in Word.
    But you can do what I did: convert the document to pdf, and set the print-restrictions in that pdf document. You may need to buy the full Adobe Acrobat for the conversion, but there are some free products available. Just Google for: word to pdf convert, which will get you a whole bunch of links.

    E.g., at
    "The Pdf995 Suite offers the following features, all at no cost:
    ...Standard PDF Encryption (restricted printing, modifying, copying text and images)"

    LVL 10

    Expert Comment

    LVL 17

    Accepted Solution

    This can be done by over-riding the commands in the word menus, but this is quite complex to create.  An easier way is to hide the option from the menu bars

    You want to put something like this in the code for the document on the on open command. (users will still be able to use shortcut keys though of ctrl + p)

    Application.CommandBars("Menu bar").Controls("File").Enabled = False


    Application.CommandBars("Menu bar").Controls("File").Visible = False

    Remember to set this back to true on close of the document

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Suggested Solutions

    Introduction Authors who set out to write any sort of lengthy piece for online submission—be it a long question or comment on a technical form, an article, or a substantial blog entry—often find it useful to work up a draft in an editor other t…
    I'm writing to share my clumsy experience in using this elegant tool so you can avoid every stupid mistake I made. (I leave it to the authorities to decide if this deserves a place in the Knowledge archives.)  Now that I am on the other side of my l…
    This Micro Tutorial well show you how to find and replace special characters in Microsoft Word. This is similar to carriage returns to convert columns of values from Microsoft Excel into comma separated lists.
    This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now