I've been using the following terminal command to set the current default printer paper size to a custom paper size

defaults write com.apple.print.PrintingPrefs DefaultPaperID -string 154x216

Unfortunately looking in preferences panel this is not setting the paper size, please does anyone know where this default paper is now set in Mavericks

  • just missed it from my code entered here, i'll edit thanks – David Jennings Oct 31 '13 at 15:15

The setting in System Preferences changes the DefaultPaperID key in ~/Library/Preferences/org.cups.PrintingPrefs.plist. Try to change that key instead:

defaults write org.cups.PrintingPrefs DefaultPaperID 154x216

Quit and reopen applications to apply the changes.

defaults read com.apple.print.custompapers shows the IDs of custom paper sizes.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .