PaperCut Client Deployment using Mac Packaging & Deployment Tools
Last modified on 11 August 2020 10:40 PM
This guide is intended for Macintosh Systems Administrators, Software Packagers, and Client Systems Administrators who have a software packaging and deployment solution already in place, such as Jamf’s Casper Suite, or Munki.
It is assumed that you wish to install the PaperCut client locally to workstations.
It is assumed that you have experience packaging and deploying packages in your environment.
For large managed Mac install bases, it is generally not feasible to install the PaperCut Client application (PCClient.app) by hand on each workstation. This document will explain some best practices for automated deployment of PCClient.app, and any additional files you may wish to deploy with it.
You will need to package PCClient.app, and launchd.plist if required, and distribute the package to your Mac systems.
This application is responsible for reporting user balances to your users. It can be found inside the PaperCut NG/MF folder after you’ve completed a server install. The default path is /Applications/Papercut [NG/MF]/client/PCClient.app.
For permanently on-site Macs, where the PaperCut Client app needs to launch on user login and stay running for the entire user session, you should install a launchd plist. For best results store the launchd plist in /Library/LaunchAgents/.
If you’re deploying the PCClient.app in /Applications/ then you can use this linked plist: PaperCut_LaunchD.zip.
If you're using a customized location for the Papercut client app (perhaps in /Applications/Utilities/ or /usr/local/) you will need to modify and deploy the following plist, replacing [PathToApplication] with the appropriate path:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Label</key> <string>com.papercut.client.agent</string> <key>ProgramArguments</key> <array> <string>/[PathToApplication]/PCClient.app/Contents/MacOS/JavaAppLauncher</string> </array> <key>KeepAlive</key> <true/> </dict> </plist>
See Starting the Client on Mac OS with Launchd for further details on using launchd.