I have some Applescripts that set the default printer using "Printer Setup Utility", that seems gone in Mavericks.
Anyone have an alternative to suggest?
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.
Sign up to join this communityI have some Applescripts that set the default printer using "Printer Setup Utility", that seems gone in Mavericks.
Anyone have an alternative to suggest?
You can use AppleScript to execute shell scripts, so you can use:
do shell script ("lpoptions -d printername")
Replace printername
with the actual printer name. It may not be exactly as it shows in System Preferences (I think ALL non-alphanumeric characters are replaced with underscores, but I'm not certain) so you can view your list of printers with:
lpstat -p