Is just the full path to the lpadmin command (program). I will break down the script below to explain how each flag operates in the script. All of the various flags here can be referenced in the lpadmin man page. Note at first that we are using lpadmin for this script. Here is an example of the script: /usr/sbin/lpadmin -p RicohC4501 -v smb://prntsrv/RicohC4501 -P /Library/Printers/PPDs/Contents/Resources/RICOH\ Aficio\ MP\ C4501 -o printer-is-shared=false -o auth-info-required=negotiate -o OptionTray=2Cassette -o Finisher=FinEUPHIMPOS -L Room200 -E This script can be copied and duplicated, and only the variables that need to be modified per printer need to be changed. Because of this, it requires a great deal of attention.Īs stated earlier, the main delivery method for installing printers uses the lpadmin command in a shell script. It also requires that with every new printer or printer move on your printer fleet, the script needs to be modified and updated. While all of these benefits are available to us when using a custom script, it requires some specialized knowledge and testing to get all of this right. Otherwise, users will not be able to use stapling or hole punching, folding, different paper trays, etc. Instead, users would have to install the printer, then navigate to System Preferences > Printers
0 Comments
Leave a Reply. |