Running-Print-Agent-on-MacOS

Article • 5/7/2025 • 2 min read

Steps for installation

  1. Download and install Java 11 or the newer version.

  2. Download the setup folder ApteanPrintAgentSetup

  3. Edit the Application.yaml file inside the ApteanPrintAgent folder with the correct configuration.

  4. Edit the startPrint.sh file to have the correct and full paths of printclient.jar and application.yaml.

  5. Edit the com.aptean.printclient.plist file. Replace the paths as shown below.

Label

com.aptean.printclient

ProgramArguments

//Give full Path to startPrint.sh file present inside the setup folder.

{full path to startPrint.sh}

RunAtLoad

StandardErrorPath

//Give full path to err.log file that will be created on service start inside ApteanPrintAge

{Full path to ApteanPrintAgent/ApteanPrintAgent.err.log}

StandardOutPath</key>

//Give full path to out.log file that will be created on service start inside ApteanPrintAgent

{Full path to ApteanPrintAgent/ApteanPrintAgent.out.log}

  1. After properly following the previous steps, Open terminal and go to the setup folder. Run the serviceStart.sh file.

  2. Verify the installation is working by going to the ApteanPrintAgent.out.log file in ApteanPrintAgent folder.

  3. 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

Access issues

Make sure the paths provided are full and correct.