Running-Print-Agent-on-MacOS
Steps for installation
-
Download and install
Java 11
or the newer version. -
Download the setup folder
ApteanPrintAgentSetup
-
Edit the Application.yaml file inside the ApteanPrintAgent folder with the correct configuration.
-
Edit the startPrint.sh file to have the correct and full paths of printclient.jar and application.yaml.
-
Edit the com.aptean.printclient.plist file. Replace the paths as shown below.
//Give full Path to startPrint.sh file present inside the setup folder.
//Give full path to err.log file that will be created on service start inside ApteanPrintAge
//Give full path to out.log file that will be created on service start inside ApteanPrintAgent
-
After properly following the previous steps, Open terminal and go to the setup folder. Run the serviceStart.sh file.
-
Verify the installation is working by going to the ApteanPrintAgent.out.log file in ApteanPrintAgent folder.
-
If nothing in the ApteanPrintAgent.out.log that means installation did not happen correctly.
Check ApteanPrintAgent.err.log for any errors.
Debugging common issues
Error: operation not permitted
-
Check from Security & Privacy that terminal and bash should have full disc access.
-
If the operation not permitted error comes on running the
.serviceStart.sh
file, it means the user doesn’t have sufficient privileges to run the file. Try running the commands using Sudo command-line utility. If it doesn’t help, try disabling the SIP by runningCsrutil disable
command in recovery mode.
Access issues
- If there are access issues, provide the read, write, and execute permissions to the files by running
chmod \+wrx
{filePath}.
Make sure the paths provided are full and correct.