[Legacy] How to Enable Debug in the iOS/iPad print provider
Please note that this information pertains to an older PaperCut BYOD printing solution called iOS Print which will only work on MacOS PaperCut servers. However we recommend a newer solution called Mobility Print which is much more versatile and robust. It also can be installed on any type of PaperCut server and enable BYOD printing for a broader variety of devices.
If you wish to confirm that PaperCut is advertising your previously shared print queues on your Mac OS X print server you can modify the Launch Daemon plist below and review the logs.
Please note that you will need to take into account the product you are using. The examples given in this article are for PaperCut NG.
Editing this file will require either ‘sudo’ or ‘root’ level access.
Your /Library/LaunchDaemons/papercut-iosprint.plist should be as below:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Label</key> <string>papercut.pc-iosprint</string> <key>OnDemand</key> <false/> <key>RunAtLoad</key> <true/> <key>ProgramArguments</key> <array> <string>/Applications/PaperCut NG/providers/iosprint/mac/pc-iosprint</string> </array> <key>StandardErrorPath</key> <string>/Applications/PaperCut NG/providers/iosprint/mac/pc-iosprint.log</string> <key>ServiceDescription</key> <string>PaperCut NG iOS Print</string> </dict> </plist>
To enable debugging, simply modify the array to read as this:
<array> <string>/Applications/PaperCut NG/providers/iosprint/mac/pc-iosprint</string> <string>-d</string> </array>
Once that is done, save the file and reload the daemon. This may need to be done as the root user:
launchctl unload -w /Library/LaunchDaemons/papercut-iosprint.plist launchctl load -w /Library/LaunchDaemons/papercut-iosprint.plist
You can then review the logs here:
We recommend reverting the debug change above as it will continue to add log entries to that file and the log will grow over time.