Skip to content

DFPrintDoc - cWinReport2

Prints the document without invoking the Print Job Dialog

Type: Procedure

Syntax

Procedure DFPrintDoc

Call Example

Send DFPrintDoc

Description

DFPrintDoc prints the current generated report without invoking the Print Job Dialog. This should be sent after a report is completed. This allows you to print a report directly from your application without having to use the report viewer.

You will not normally use this message. Instead, set the report object's Output_device_mode to PRINT_TO_PRINTER_NO_DIALOG before starting your report.

If you wish to invoke the Print Job Dialog you can use the message DFPrintDialog or the DFPrint message.