Hello,
We’re getting 5 new xerox copiers/printers in the office next week, and I’m trying to create a script that will install them all as IP printers in one click. I need to setup 60 machines to access these, so it will be a life saver if I can get it to work. I’m having a couple of problems. First, the script get’s up to the point where it fills in the IP, but I can’t get it to click the “add” button as it’s greyed out. when manually entering the ip, if you hit tab it activates the button, but this doesn’t seem to be happening in the script. The second problem is how to get it to fill in the “Name” field with the correct name of the printer. Any help would be greatly appreciated!
activate application "Printer Setup Utility"
tell application "System Events"
launch
tell process "Printer Setup Utility"
click menu item "Add Printer." of menu 1 of menu bar item "Printers" of menu bar 1
tell window "Printer Browser"
click button "IP Printer" of tool bar 1
set value of combo box 1 of group 1 of group 1 of group 2 of group 1 to "xxx.xxx.x.x"
delay 2
keystroke tab & tab & return
click button "Add"
end tell
end tell
end tell
quit application "Printer Setup Utility"