mdrabble Posted September 30, 2016 Posted September 30, 2016 We have a number of Sharp MFD/Copiers around school which I have 2 Virtual Print Queues running - Mono & Colour. We use follow me printing so they can release from any device. They use the same driver but the mono queue is supposed to convert all jobs for all users to greyscale. Students only get the mono print queue - they are mot allowed to print in colour. Recently we have noticed they have been bypassing the greyscale restriction and printing colour! They open the printer properties and change from mono to colour and hey presto it prints in colour regardless of the settings within papercut. For this particular copier - I have also set a restriction on the actual printer within papercut to convert any jobs for Students to Greyscale but this has no affect. Any one any ideas how to stop this or why papercut is ignoring the restriction. Cheers
mikkydoos Posted October 3, 2016 Posted October 3, 2016 (edited) You've got this set... right ? On the mono Follow Me Printer in paperCut EDIT: Ah no! I'm wrong. That setting is only for charging, not for forcing mono. Here I meant... Edited October 3, 2016 by mikkydoos
mikkydoos Posted October 3, 2016 Posted October 3, 2016 Or I have a script that will absolutely force it to mono if you want it regardless of what they do. 1
mdrabble Posted October 3, 2016 Author Posted October 3, 2016 Just double checked and on the Summary settings - it was set to This is a greyscale printer (disable colour detection.......) I have changed it to -The is a colour printer (use page-level detection) The Filtering/Restrictions tab - I have it set to Convert colour jobs to greyscale for all users. If I could grab a copy of your script that would be great :-)
mikkydoos Posted October 4, 2016 Posted October 4, 2016 No worries. You'll have to mod it a bit. My script gives the option to change to greyscale. I'm sure you can easily do a bit of cutting and pasting to get it going. Here it is: -------------------------------------------- /* * Color print jobs require user confirmation * * Color printing is expensive so users should be encouraged to print * in grayscale whenever they print in color. No confirmation is required * for grayscale jobs. */ function printJobHook(inputs, actions) { /* * This print hook will need access to all job details * so return if full job analysis is not yet complete. * The only job details that are available before analysis * are metadata such as username, printer name, and date. * * See reference documentation for full explanation. */ if (!inputs.job.isAnalysisComplete) { // No job details yet so return. return; } if (inputs.job.isColor) { /* Color job, ask the use if they want to print. The job cost is displayed * prominently to encourage users to consider black and white printing instead. */ var response = actions.client.promptPrintCancel( "This print job is color" + " and costs " + inputs.utils.formatCost(inputs.job.cost) + ". You can save money by printing the job in grayscale. " + "Press Print to Print in Colour. Press Cancel to convert to Greyscale", {"dialogTitle" : "Color print job", "dialogDesc" : "Consider printing in grayscale to reduce costs"}); if (response == "CANCEL" || response == "TIMEOUT") { // User did not respond, cancel the job and exit script. //actions.job.cancel(); actions.job.convertToGrayscale(); return; } } } ------------------------------- Apply it to your virtual Printer :) 1
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