ReportDesign.setTarget Method [AX 2012]

Sets the print medium target for the report.

public PrintMedium setTarget(PrintMedium target)

Run On

Called

Parameters

target
Type: PrintMedium Enumeration
The print medium for the report.

Return Value

Type: PrintMedium Enumeration
The print medium for the report.

To select a specific printer as the target for the report, call the PrintJobSettings.deviceName method on the object that is returned by the ReportDesign.printJobSettings method.

Community Additions

ADD
Show: