Help Center menu


PaperCut NG & PaperCut MF Manual


Device scripting

Have you ever been asked to introduce color page quotas or to restrict who has access to color copying? Maybe the existing pricing structure that you use doesn’t give you the flexibility that you need? Device scripting allows you to implement copy, scan, and fax policies (such as limiting color copying) that will change user’s behavior at the MFD, saving your organization money and of course, helping the environment. You can also use these policies to implement differential charging based on various factors such as the time of day, the account being charged, or the user performing the job.

PaperCut NG/MF’s advanced scripting interface is a powerful and flexible feature that you can use to define and fine tune your user’s experience at the MFD. While there are many features you can enable or change in the Admin web interface, scripting your own behavior introduces a whole new level of customization.

The functionality available via scripting is varied and is constantly being extended based on customer demand. Some common uses include:

  • block access to devices based on day/time (for example, block access to devices on weekends)

  • set a daily color copy quota

  • prevent copying entirely for users in a selected group

  • prevent color copying during peak periods or completely

  • discount copying and scanning for certain user groups (for example, staff )

  • charge a different pricing model for different user groups

  • allow free copying during certain periods

  • offer a discount during off-peak hours

  • exempt specific users from color copy restrictions

All of the above are possible by writing a small JavaScript directly into a code editor in the Admin web interface. In fact, the above functionality is provided as pre-built recipes ready to use, just like you can with Print scripting. Alternatively, you can build your own scripts to suit your organization’s needs.

At a high level, advanced scripting provides the ability to:

  • Adapt logic based on copy, scan, and fax job attributes such as cost, pages, document name, time, etc.

  • Modify job attributes and behavior such as limiting color page copies, or having a different cost model for different user groups.

This section contains the following topics: