Hi.
How can I set the default printer in mac os x.
I use the code below but it is missed
tell application "Printer Setup Utility"
set printerList to name of every printer
end tell
choose from list printerList with prompt "Escolha a impressora"
set thePrinter to item 1 of result
tell application "Printer Setup Utility"
set current printer to thePrinter
end tell
thanks