Placing a daily limit on the number of pages printed

KB Home   |   Placing a daily limit on the number of pages printed

Main.LimitPagesDaily History

Hide minor edits - Show changes to output

November 16, 2018, at 07:06 AM by Aaron Pouliot - Added category - Print Scripting
Changed line 26 from:
''Categories:'' [[Category.Scripting|+]]
to:
''Categories:'' [[Category.PrintScripting|+]]
Added lines 20-21:

Changing the names of the variables from "day" to "month" would be helpful too.
Changed lines 7-8 from:
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 [[https://www.papercut.com/products/ng/manual/ch-script.html | here]]. All the current script APIs are listed in the chapter of  the manual.
to:
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 [[https://www.papercut.com/products/ng/manual/ch-script.html | here]].  Print Script API is listed in the chapter of  the manual.
Changed line 17 from:
To be able to apply this recipe on a per month basis,  the recipe can be easily editted to meet your requirements. Instead of getting the currentDayIndex variable used in the script, you will need to get the currentMonthIndex.
to:
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.
Changed lines 6-7 from:
Sometimes organizations want to set page limit based on a periodic basis
To be able to restrict users to do this, Advanced Print scripting will need
to be used. Detailed information on Scripting is given [[https://www.papercut.com/products/ng/manual/ch-script.html | here]]. All the current script APIs are listed in the chapter of  the manual.
to:
Sometimes organizations would like to set a page limit for given time intervalFor 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 [[https://www.papercut.com/products/ng/manual/ch-script.html | here]]. All the current script APIs are listed in the chapter of  the manual.
Changed lines 1-2 from:
(:title Print Scripting - Placing a daily limit on the number of pages printed :)
to:
(:title Placing a daily limit on the number of pages printed :)
Changed line 27 from:
[-Keywords: customizing, regular, periodic interval, limited-]
to:
[-Keywords: customizing, regular, periodic interval, limited, Print Scripting -]
Changed line 1 from:
(:title Limit Pages Daily :)
to:
(:title Print Scripting - Placing a daily limit on the number of pages printed :)
Changed line 17 from:
To be able to apply this recipe on a per month basis,  the recipe can be easily editted to meet your requirements. Instead of getting the currentDayIndex, you will need to get the currentMonthIndex.
to:
To be able to apply this recipe on a per month basis,  the recipe can be easily editted to meet your requirements. Instead of getting the currentDayIndex variable used in the script, you will need to get the currentMonthIndex.
Changed line 19 from:
var currentMonthIndex = inputs.job.date.getMonth();
to:
For Example: ''var currentMonthIndex = inputs.job.date.getMonth();''
Changed lines 17-21 from:
If you want to apply this recipe on a per month basis, you should be able to edit the recipe to meet your requirements. Someone with basic JavaScript experience should be able to help with editing these pre-defined recipes.
to:
To be able to apply this recipe on a per month basis,  the recipe can be easily editted to meet your requirements. Instead of getting the currentDayIndex, you will need to get the currentMonthIndex.
 
var currentMonthIndex = inputs.job.date.getMonth();

Someone with basic JavaScript experience in your organization
should be able to help with editing these pre-defined recipes.
Changed lines 17-22 from:
If you want to apply this recipe on a per month basis, you should be able to edit the recipe to meet your requirements. Someone with basic Javascript experience should be able to help with editing these pre-defined recipes.


!!Subheading

TODO link your page here: https://www.papercut.com/kb/Main/Miscellaneous
to:
If you want to apply this recipe on a per month basis, you should be able to edit the recipe to meet your requirements. Someone with basic JavaScript experience should be able to help with editing these pre-defined recipes.
Changed line 25 from:
''Categories:'' [[Category.Scripts|+]]
to:
''Categories:'' [[Category.Scripting|+]]
Changed lines 25-26 from:
''Categories:'' [[Category.TODOFirstCategory|+]], [[Category.TODOSecondCategoryIfNeeded|+]]
to:
''Categories:'' [[Category.Scripts|+]]
Changed lines 7-10 from:
To be able to restrict users to do this, Advanced Print scripting will need to be used. Detailed information on Scripting is given [[https://www.papercut.com/products/ng/manual/ch-script.html | here]]. All Our current script APIs are listed in the chapter of  the manual.

Scripts can be applied to a printer via @@Printers -> [Name of the printer] -> Scripting@@.
to:
To be able to restrict users to do this, Advanced Print scripting will need to be used. Detailed information on Scripting is given [[https://www.papercut.com/products/ng/manual/ch-script.html | here]]. All the current script APIs are listed in the chapter of  the manual.

Scripts can be applied to a printer via @@Printers -> [Name of the printer] -> Scripting@@ tab.
Changed lines 12-13 from:
For example: If you want to apply a daily limit of 10 color pages you will be able to use the following recipe: “Daily color page limit”
to:

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”
Changed lines 4-5 from:
It is possible to restrict users on a per job basis by pages, copies, cost.  They are available under @@Printers -> Filters & Restrictions.@@
to:
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 [[https://www.papercut.com/products/ng/manual/ch-printer-mgmt-filters.html| here]].
Changed lines 12-13 from:
For example: If you want to apply a daily limit of 10 color pages you will be able to use the following recipe: “Daily color page limit”
to:
For example: If you want to apply a daily limit of 10 color pages you will be able to use the following recipe: “Daily color page limit”
Changed line 26 from:
[-Keywords: customizing, regular, periodic interval-]
to:
[-Keywords: customizing, regular, periodic interval, limited-]
Changed line 14 from:
Attach:dailyLimitScript.png
to:
Attach:dailyLimitScript1.png
Changed line 14 from:
attach:dailyLimitScript.png
to:
Attach:dailyLimitScript.png
Changed lines 14-15 from:
Attach: dailyLimitScript.png
to:
attach:dailyLimitScript.png
Changed line 26 from:
[-Keywords: TODO keywords here if needed-]
to:
[-Keywords: customizing, regular, periodic interval-]
Changed lines 14-15 from:

to:
Attach: dailyLimitScript.png

If you want to apply this recipe on a per month basis, you should be able to edit the recipe to meet your requirements. Someone with basic Javascript experience should be able to help with editing these pre-defined recipes.
Changed lines 7-8 from:
To be able to restrict users to do this, Advanced Print scripting will need to be used. Detailed information on Scripting is given [[https://www.papercut.com/products/ng/manual/ch-script.html| here
]].
to:
To be able to restrict users to do this, Advanced Print scripting will need to be used. Detailed information on Scripting is given [[https://www.papercut.com/products/ng/manual/ch-script.html | here]]. All Our current script APIs are listed in the chapter of  the manual.

Scripts can be applied to a printer via @@Printers -> [Name of the printer] -> Scripting@@.

We have dozens of pre-defined recipes to help you achieve your requirements.
For example: If you want to apply a daily limit of 10 color pages you will be able to use the following recipe: “Daily color page limit”


Changed lines 7-8 from:
To be able to restrict users to do this, Advanced Print scripting will need to be used. Detailed information on Scripting is given [[here| https://www.papercut.com/products/ng/manual/ch-script.html
]]:
to:
To be able to restrict users to do this, Advanced Print scripting will need to be used. Detailed information on Scripting is given [[https://www.papercut.com/products/ng/manual/ch-script.html| here
]].
Changed lines 4-8 from:
It is possible to restrict users on a per job basis by pages, copies, cost.  They are available under Printers -> Filters & Restrictions.
to:
It is possible to restrict users on a per job basis by pages, copies, cost.  They are available under @@Printers -> Filters & Restrictions.@@

Sometimes organizations want to set page limit based on a periodic basis. 
To be able to restrict users to do this, Advanced Print scripting will need to be used. Detailed information on Scripting is given [[here| https://www.papercut.com/products/ng/manual/ch-script.html
]]:
Added lines 1-14:
(:title Limit Pages Daily :)

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.


!!Subheading

TODO link your page here: https://www.papercut.com/kb/Main/Miscellaneous

----
''Categories:'' [[Category.TODOFirstCategory|+]], [[Category.TODOSecondCategoryIfNeeded|+]]
----
[-Keywords: TODO keywords here if needed-]

Comments

Share your findings and experience with other PaperCut users. Feel free to add comments and suggestions about this Knowledge Base article. Please don't use this for support requests.

Article last modified on November 16, 2018, at 07:06 AM
Printable View   |   Article History   |   Edit Article