You can find more printer script examples in the PaperCut product after you install it.
Go to the printers tab, select any printer and then select the scripting tab. Then choose "Import Recipe" and browse the list of example scripts.
More examples of printer scripts from @selectec at https://github.com/Selectec/papercut-scripts
- MakeWaterMarkOptional.js: Provide the user with opportunity to remove watermark before printing
- Staircase_colourQuota.js: Charge page cost depending on number of pages printed this month
- colorPerYear.js: Provide users with annual colour page limit
- holdLargeJobs.js: Automatically hold large jobs
- redactDocumentNamesForSomeUserGroups.js: Redact document names if users are in specific groups