milk242
Apr 28, 2008, 09:00 PM
Hi all,
I'm trying to make a shell command that installs a network printer that uses PPD .gz files located on a network share. I'm not really sure on how to get the script to locate the network share or if its even possible. This is what my script looks like now
/usr/sbin/lpadmin -p Xerox -E -v lpd://128.200.65.5 -P /Library/printers/PPDs/Contents/Resources/wcp255.gz -D "Xerox printer yay"
I essentially want to replace /Library/printers/PPDs/Contents/Resources/wcp255.gz with a network path instead of a local path. The network share is also on a windows server.
Thanks.
I'm trying to make a shell command that installs a network printer that uses PPD .gz files located on a network share. I'm not really sure on how to get the script to locate the network share or if its even possible. This is what my script looks like now
/usr/sbin/lpadmin -p Xerox -E -v lpd://128.200.65.5 -P /Library/printers/PPDs/Contents/Resources/wcp255.gz -D "Xerox printer yay"
I essentially want to replace /Library/printers/PPDs/Contents/Resources/wcp255.gz with a network path instead of a local path. The network share is also on a windows server.
Thanks.
