timbo343 Posted April 16, 2014 Posted April 16, 2014 We have papercut setup but only to monitor printing activity. I was wondering if there is a way to delete jobs after say 30 mins without using the user/manager release feature. This would be handy in scenarios where users print a document say 10 mins to go at the end of a lesson but either the printer has run out of paper or there is an error with the printer. The only thing i can see regarding this is the user/manager print release which isn't what i'm after. I maybe looking in the wrong place but i don't think i've ever seen this feature and ive had it since version 8, now on version 14.
Abaddon Posted April 16, 2014 Posted April 16, 2014 The only place I've seen is under Options - General - Hold/Release queues.. but this is only valid if you have the release station, as you say.
timbo343 Posted April 16, 2014 Author Posted April 16, 2014 I thought that might be the case. I wonder if a script might be able to sort this issue out, trouble is, i don't have any scripting knowledge.
Abaddon Posted April 17, 2014 Posted April 17, 2014 Me either! At that point though, the job has passed through Papercut and is now in the printers queue isn't it? Therefore, any scripting would be at the print queues, not Papercut?
fiza Posted April 17, 2014 Posted April 17, 2014 There is a hardware verification check aswell to see if the printer actually printed anything. Whether this helps in your case im not sure. Validating page counts using hardware checks
Laurent_NEWDOC Posted April 23, 2014 Posted April 23, 2014 Hi, It's possible to delete future print jobs with a Papercut script on the print queue when a print job is already present in print queue and in error state. I could give you this script if you are interested.
fiza Posted April 23, 2014 Posted April 23, 2014 Hi, It's possible to delete future print jobs with a Papercut script on the print queue when a print job is already present in print queue and in error state. I could give you this script if you are interested. Please post the script
Laurent_NEWDOC Posted April 23, 2014 Posted April 23, 2014 Here he is: If PaperCut Client is running on the computer, it's possible to notify users when jobs are deleted. In this case, we need to add this line after "actions.job.cancel();": actions.client.sendMessage("Your print job was deleted because the printer is in error state"); -------------------------------------- /* * Delete jobs on error without confirmation */ function printJobHook(inputs, actions) { /* * If Print queue is in error: */ if (inputs.printer.isStatusError) { /* * Delete the print Jobs */ actions.job.cancel(); } } 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