MrFrostmaul Posted July 4, 2017 Posted July 4, 2017 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(''); } }
3s-gtech Posted July 4, 2017 Posted July 4, 2017 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.
MrFrostmaul Posted July 4, 2017 Author Posted July 4, 2017 Yep, got them. The PCL6 driver needed the watermark at the top and not the bottom. All working. Thanks
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now