PaperCut provides various types of filters and restrictions which are useful for education environments.
It is possible to restrict users on a per job basis by pages, copies, cost. They are available under
Printers → Filters & Restrictions. More detailed information about them is given here.
Sometimes organizations would like to set a page limit for given time interval. For example, a number of Pages per day or pages per month.
To be able to restrict a user to a number of pages in a given time interval advanced print scripting will need to be used. Detailed information on scripting is given here. Print Script API is listed in the chapter of the manual.
Scripts can be applied to a printer via
Printers → [Name of the printer] → Scripting tab.
We have dozens of pre-defined recipes to help you achieve your requirements.
For example: To apply a daily limit of 10 color pages on your users, you will be able to use the already available recipe: “Daily color page limit
To be able to apply this recipe on a per month basis, the recipe can be easily edited to meet your requirements. Instead of getting the currentDayIndex variable used in the script, you will need to get the currentMonthIndex.
For Example: var currentMonthIndex = inputs.job.date.getMonth();
Changing the names of the variables from “day” to “month” would be helpful too.
Categories: Advanced Scripting (Print Scripting)
Keywords: customizing, regular, periodic interval, limited, Print Scripting