Question and answer on Print job setting in MSD Axapta 2009

1. What is the syntax for setting the default printer option to e-mail in the PrintJobSetting class?
ANSWER: PrintJobSettings.SetTarget(PrintMedium::Mail).

2. Which method would you use to initialize printJobSettings for a specificreport, when this report is called from a class?
ANSWER: ReportRun.UnpackPrintJobSettings.

3. Where does Microsoft Dynamics AX store the previously selected printer settings for a specific report?
ANSWER: Usage Data (SysLastValue).