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