#K12 Limit printers to printing 1 copy only

Contributor II

The staff in our Media Center/Library want to limit the students to only printing one copy and to have a message display that reminds them of the Media Center policy.

I made a package with Composer that modifies /etc/cups/cupsd.conf with the line ```
MaxCopies 1
and then restarts CUPS with the command
sudo launchctl unload /System/Library/LaunchDaemons/org.cups.cupsd.plist

This works to prevent students from printing, but depending on the app they are printing from, it shows a different error message. Some of the messages are very un-meaningful. I would like to use the jamfHelper to display a more meaningful message, but I'm not sure how to script that. Some sort of bool logic for if attempting to print anything more than one copy will make the message appear. I know how to make the messages appear and customize them, but I'm just not sure on the logic to get them to appear.


Jake Salmela