Conditional Watermarking of Print Jobs

KB Home   |   Conditional Watermarking of Print Jobs

Main.ConditionalWatermarkingOfPrintJobs History

Hide minor edits - Show changes to output

July 05, 2018, at 09:00 PM by Aaron Pouliot - Added category Watermarking
Changed line 25 from:
''Categories:'' [[Category.Printers|+]]
to:
''Categories:'' [[Category.Watermarking|+]]
Changed lines 21-23 from:
A: Good point.  Yes.  Scripting is complex at times.  We have consider adding a simple GUI option (e.g. only apply to group A).  Scripting at the current time offers this ability and much more.  If we find demand for a GUI option we'll consider this addition.  If you have any thoughts on this, please make it known.  All our features are implemented based on votes so make sure you email support and have your say.

to:
A: Good point.  Yes.  Scripting is complex at times.  We have considered adding a simple GUI option (e.g. only apply to group A).  Scripting at the current time offers this ability and much more.  If we find demand for a GUI option we'll consider this addition.  If you have any thoughts on this, please make it known.  All our features are implemented based on votes so make sure you email support and have your say.

Added lines 25-26:
''Categories:'' [[Category.Printers|+]]
----
Added lines 9-10:
Please see the [[https://www.papercut.com/products/ng/manual/ch-script.html|print scripting]] and the pre-written recipe "Print Scripting for Students and not Staff" for more information.
Changed line 14 from:
       actions.job.setWatermark("")
to:
       actions.job.setWatermark("");
Changed lines 13-14 from:
->[@actions.job.setWatermark("")@]
to:
   if (inputs.user.isInGroup("Staff")) {
      actions.job.setWatermark("")
  }

Added lines 1-21:
(:title Conditional Watermarking of Print Jobs:)

Q: Is it possible to change watermarking based on situations/conditions?

A: Yes.  This is possible using the [[https://www.papercut.com/products/ng/manual/ch-script.html|print scripting]] feature.  A script can set, change or turn off watermarking based on any condition such as username, user group, document name, and other device attributes.  The action API that sets watermarking is:

->[@actions.job.setWatermark("My Watermark Text")@]

Q: How do I conditionally turn off watermarking?

A: This can be done by setting the watermark using a print script to an empty zero-length string.  For example:

->[@actions.job.setWatermark("")@]

Q: Writing scripts is complex. Can't you just add a GUI checkbox option?

A: Good point.  Yes.  Scripting is complex at times.  We have consider adding a simple GUI option (e.g. only apply to group A).  Scripting at the current time offers this ability and much more.  If we find demand for a GUI option we'll consider this addition.  If you have any thoughts on this, please make it known.  All our features are implemented based on votes so make sure you email support and have your say.


----
[-keywords: turn off watermarking, rule based watermark, change footer text-]

Comments

Share your findings and experience with other PaperCut users. Feel free to add comments and suggestions about this Knowledge Base article. Please don't use this for support requests.

Article last modified on July 05, 2018, at 09:00 PM
Printable View   |   Article History   |   Edit Article