Jump to content

Recommended Posts

Posted

I can restrict certain file types, names etc from printing but I want to blacklist all jobs and only allow 1 file name (system generated, same each time). I think it's going to be a script option but has anyone here got this in their setup?

 

Installing a printer for a specific purpose and I cannot see a simple way of doing it and not sure on the scripting side of things.

Posted

Hey MatthewL,

 

PaperCutter here.

 

Advanced Printer Scripting can probably do this: https://www.papercut.com/support/resources/manuals/ng-mf/common/topics/script.html

 

Something like this?

 

function printJobHook(inputs, actions) {

if (inputs.job.documentName != "Super Secret") {

actions.job.cancelAndLog('Unauthorised Print job.');

actions.log.debug('Job from user "' + inputs.user.username + '" was canceled.');

}

}

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...