My results on Win7 x64, worked on both SetDefaultPrinter and SetAsDefaultPrinter.

Maybe you have a misspelled printer name?