Greetings,
I’m looking to simplify the imaging process even more for the techs in the field and need some help. After doing a great deal of reading/research on scripting I was able to create a script the will add a print by command line.
#!/bin/sh
read prtname
printername="$prtname"
/usr/sbin/lpadmin -p $printername -E -v lpd://$printername.xxx.xxxx.xx/E450 -P /Library/Printers/PPDs/Contents/Resources/Lexmark E450dn.gz -D $printername
What I’m hoping is that someone can explained how I can have my tech launch Casper Imaging -> Select Custom Install -> Scripts -> choose the “add printer” script and on the Script Option Parameter 1 , I would like to have the Tech enter in the printer’s host name in Parameter 1.
Our supported OSX version
10.5, 10.6 and 10.7
LJ