Implementing Quotas for Shared Accounts

KB Home   |   Implementing Quotas for Shared Accounts

PaperCut has many features to make implementing Print Quotas for users easy. In rarer situations, it may be necessary to set up quotas for a Shared Account.

Quotas for shared accounts can be configured in PaperCut using the command line scripting tool server-command. server-command provides access to PaperCut’s features from a scripting environment. Scripts can then be scheduled to run periodically (e.g. using Windows Task Scheduler or Cron). Scheduling a script that adds balance to shared accounts is a great way to implement shared account quotas.

Here is an example batch file that could be scheduled using Windows Task Scheduler:

set SERVER_COMMAND="C:\Program Files\PaperCut NG\server\bin\win\server-command.exe"
set COMMENT="Monthly printing budget allocation"

%SERVER_COMMAND% adjust-shared-account-account-balance "English" 300.00 %COMMENT%
%SERVER_COMMAND% adjust-shared-account-account-balance "Science" 100.00 %COMMENT%
%SERVER_COMMAND% adjust-shared-account-account-balance "Maths" 200.00 %COMMENT%

For information about the syntax of this command and a list of other available commands, see the user manual.

More Information:

Categories: Tips & Tricks



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 December 04, 2007, at 03:42 AM
Printable View   |   Article History   |   Edit Article