Look up CommonDialog Flags in MSDN and look at "cdlPDPrintToFile"

------------------