Adding Bonjour Printers


I have a mac server with about 15 shared printers on it. I would like to run a script on the client macs to add all the printers. i have tried the :

lpadmin -p printername …etc

but that is not drawing in the tray options etc. this is a essential part of it that it selects all the correct options that are on the printer.

any ideas?!



first of all, please post your questions into the AppleScript or Automator forums.
Code Exchange is for sharing complete solutions.

You can set specific printer options with /usr/bin/lpoptions