Printing support
Merge pull request #587 from zhchbin/nw-rebase

[WIN] Fix build error of rebase.
rebase fix for Mac
[WIN] Fix build error caused by missing |switches::kPrintRaster|.