Incorrect page order when printing multiple copies of a report with multiple pages¶
What is new - 25.0¶
When you send PrintToDefaultPrinter, the Windows print dialog is invoked invisibly to retrieve the DEVMODE information for the default printer. As a result, certain properties - such as piCopies and peCollate - may not function as expected. The peCollate property sets the DM_COLLATE flag, but this flag can also be set using the piFlags property of the phoPrintDialog. To ensure this flag is properly set, you can augment the OnPreShowPrintDialog event.