10.6: Set Printer Presets from the Terminal
If you want to set the printer preset from the terminal in 10.6 (or from an AppleScript via a 'do shell script' command), it's different than how it's done in previous versions of OS X.
Assuming you have a printer called 'Copy Room Printer' and a preset called 'double-sided, stapled,' you would run the following two commands:
Just set the parameters to match your own needs. [crarko adds: I haven't tested this one. If this works in Lion or you find an equivalent, please post it in the comments.]
defaults write com.apple.print.custompresets.forprinter.Copy_Room_Printer com.apple.print.lastPresetPref 'double-sided, stapled' defaults write com.apple.print.custompresets.forprinter.Copy_Room_Printer com.apple.print.lastPresetPrefType 3
Source: http://feeds.macosxhints.com/click.phdo?i=2a5ae45346b15f456109300ed8f6e59d
apple news rumors apple newspaper macworld expo mac genius bar