Jump to content

Recommended Posts

Posted

Hello, I have this script edited from the main official one for students, but is not displaying the watermark on any pages by any user - including ones not in the NoWatermark security group.

 

Most likely something stupid i've changed without realizing. Thanks

 

function printJobHook(inputs, actions) {

var ALLUSERS_GROUP = '[All Users]';

var STAFFNOWM_GROUP = 'Staff-PrintingNoWatermark';

if (inputs.user.isInGroup(ALLUSERS_GROUP)) {

actions.job.setWatermark('Printed by %user% ');

}

if (inputs.user.isInGroup(STAFFNOWM_GROUP)) {

actions.job.setWatermark('');

}

}

Posted
Do your print drivers allow this to work? We were using ones which didn't on many of our printers (GDI with Samsung) - I swapped them and watermarking (and archiving) then worked. More recent versions of Papercut improve this compatibility.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...