tell application "Printer Setup Utility"
set defined_printers to name of every printer
end tell
set ChosenPrinter to choose from list defined_printers
set ChosenPrinter to ChosenPrinter as text
try
tell application "Printer Setup Utility"
set the current printer to printer ChosenPrinter
end tell
on error err_msg number err_num
display dialog "Error #" & err_num & " - " & err_msg buttons "OK" default button 1
end try
The scriptstep doesn't return any errors in FileMaker and this script compiles ok in FM. It's when I click Print that I see the printer has not changed in my problem file. If anyone has any ideas on what on earth would cause Set the current printer to not work, that would be great!
Thanks,
Denis