Printer Logic

mfurman
New Contributor II

Hi all, trying this again,

I am having some issues deploying Printer Logic via SS. I have tried to do as a script and have tried to do it has a package after capturing it with Composer. When someone in my test group clicks install in SS it says processing for about 5 seconds and says "this item is no longer available." I go to the logs and it doesn't even show that someone tried to run it as everyone scoped still show up as "pending". Below is the curl command that downloads and installs the app. Any and all suggestions would be greatly appreciated.

curl -o /tmp/PrinterInstallerClientSetup.pkg "https://
[yourDomain].printercloud.com/client/setup/PrinterInstallerClientSetup.pkg" && sudo installer -allowUntrusted -pkg /tmp/PrinterInstallerClientSetup.pkg -target / && sudo /opt/PrinterInstallerClient/bin/set_home_url.sh https [yourDomain].printercloud.com && sudo /opt/PrinterInstallerClient/bin/use_authorization_code.sh [AUTHCODE]

1 ACCEPTED SOLUTION

tredmond
New Contributor

Hello,
Not sure if you are using JAMF on-prem or in the cloud, but I have encountered this issue several times after migrated to JAMFCloud and sometimes it would occur once. On occassion, I have to recreate the policy because something is corrupted with it. This typically fixes the issue.

Now, I just tested out the PrinterLogic install this morning and I went with putting the CURL command you have above into a script and ran the script in the policy. This worked great.

View solution in original post

3 REPLIES 3

tredmond
New Contributor

Hello,
Not sure if you are using JAMF on-prem or in the cloud, but I have encountered this issue several times after migrated to JAMFCloud and sometimes it would occur once. On occassion, I have to recreate the policy because something is corrupted with it. This typically fixes the issue.

Now, I just tested out the PrinterLogic install this morning and I went with putting the CURL command you have above into a script and ran the script in the policy. This worked great.

mfurman
New Contributor II

No idea what it didn't like. Deleted all things printer logic from the JSS and then re-add the script and it's working fine now.

jamf-newbie-600
New Contributor

What was added to our JAMF Pro Cloud today... works great!

We also found cutting and pasting seemed to add some rich-text formatting and that caused some issues 

 

 

#!/bin/bash


PrinterLogicTenant="wwwwww"
AuthorizationCode="xxxxxxxxx"
###### DO NOT EDIT BELOW THIS LINE ######

# Download the latest version of PrinterLogic from Inari's PrinterLogic tenant.
curl -o /tmp/PrinterInstallerClientSetup.pkg "https://$PrinterLogicTenant.printercloud.com/client/setup/PrinterInstallerClientSetup.pkg"
cd /private/tmp

# Run installer
installer -pkg PrinterInstallerClientSetup.pkg -target /

sleep 5

# Set tenant and provide authorization code
sh /opt/PrinterInstallerClient/bin/set_home_url.sh https $PrinterLogicTenant.printercloud.com


sleep 5
sh /opt/PrinterInstallerClient/bin/use_authorization_code.sh $AuthorizationCode