Programmatically prevent document printing 
Use this IdeaSpace to post ideas about the Notes Client.

: -8
: 7
: 15
: Notes Client / Other
: print
: David Lundy1694 28 Apr 2008
: / Email
There needs to be a way to programmatically prevent a form from being printed.  Only allowing users who match a given set of criteria to print would be very useful in a "security" situation.  The design checkbox of "disable printing/forwarding/copying" is nice if you like smashing flies with Buicks (read: overkill).
A specific example is a database we use to document "incidents" around the hospital.  Drug mistakes, employee injuries, patient injuries, etc.  Currently, anyone who can see a given incident can print it.  There are many times that we need certain people to be able to view an incident report but NOT edit OR print it (it contains sensitive information from a legal standpoint).
Another example could be a policies application.  One wouldn't want to allow printing of non-approved policies by users other than the creator and/or upper level management individuals.

1) Rob Goudvis8695 (29 Apr 2008)
Even when there is a way to prevent printing, the user can always make a screen dump.So I vote against this idea.
2) Matt White13605 (29 Apr 2008)
I'm with Rob here. The illusion of security can actually be worse than nothing at all.
3) Jim Roysdon1264 (30 Apr 2008)
Sorry, I agree and have had this conversation with many customers. It is impossible to stop someone from "prt-scrn" or screen shotting the data.
4) David Lundy1694 (30 Apr 2008)
No worries folks. I absolutely agree with what you're saying. It was requested by one of our users and I thought it was odd that we couldn't do anything but disable printing for EVERYONE (as well as copy/forward).

Most of our users aren't creative or knowledgeable enough to do screen caps anyhow. ;)
5) Charles Robinson8913 (16 May 2008)
You can block Print Screen on Windows. Here is code: { Link }
6) Phil Petts13 (23 May 2008)

Whilst I agree with everyone else about the print-screen problem (although Charles has a solution for that above), you can control who can print the document by having a computed $KeepPrivate field on the form. You set the field to "1" if you don't want the user to print / forward etc. I've done this in the past and it works, I think by default it was set to "1" then I added a button to print, which clears the field, prints the doc, then adds the "1" back in.

Another approach would be to have two copies of the form, one with the disable printing/forwarding/copying set, one without (use a subform to store all the fields etc). Then use a form formula in the view(s) to calculate which form is used by which user.




Welcome to IdeaJam

You can run IdeaJam™ in your company. It's easy to install, setup and customize. Your employees, partners and customers will immediately see results.

Use IdeaJam to:

  • Collect ideas from employees
  • Solicit feedback and suggestions from employees and customers
  • Run innovation contests and competitions
  • Validate concepts
  • Use the power of "crowd-sourcing" to rank ideas and allow the best ideas to rise to the top

IdeaJam™ works with:

  • IBM Connections
  • IBM Lotus Quickr
  • Blogs and Wikis
  • Websphere Portal
  • Microsoft Sharepoint
  • and other applications.

IdeaJam has an extensive set of widgets and API's that allow you to extend and integrate IdeaJam™ with other applications.

Learn more about IdeaJam >>

IdeaJam developed by

Elguji Software Logo