The process of deploying a printer as part of Mac management can be tricky, that is why Addigy has developed several means of achieving this in a simple way. One of these ways is via a Custom Software.
Before you can put together a Custom Software to deploy your printer through Addigy, you will need a device that already has the printer correctly configured. This device will be used to gather the necessary information to set up your Custom Software.
To install a Printer via Custom Software you can use this command as the installation script:
lpadmin -E -p "Printer_Name" -v "Printer_URL" -P "PPD" -o printer-is-shared=false
"Printer_Name" is chosen by you and can be anything that describes your printer
"Printer_URL" is the URL or IP address of the printer DeviceURI
To find the "Printer_URL" you can run the following command on the device that has the printer configured. You will need to add sudo before the command if you are not running it from within Addigy.
-P "PPD" is the Printer Driver file you would like to use
To find the PPDURL, run this command on the configured device. Change the $yourPrinterMakeModel for whatever you entered as the MakeModel field in the printer Profile.
lpinfo --make-and-model "$yourPrinterMakeModel" -m
This will list the available drivers for that model on your device. The file PPDURL will look something like this and will usually end in .gz.
file://localhost/Library/Printers/PPDs/Contents/Resources/Brother MFC-L6900DW series CUPS.gz
-o printer-is-shared=false turns off printer sharing
Finally, upload this .gz into your Custom Software. The end product will look something like.