PrinterIndex not working with TPrintDialog
Posted on 1998-03-03
If I change the printer using the PrinterIndex property of Printer,
and then call PrintDialog.Execute (assuming PrintDialog is of type
TPrintDialog) it will show the settings for the default printer.
If I change the printer selected via the print dialog and then click
OK, and change the printer again via PrinterIndex, and finally show
the print dialog again, it shows the previously selected printed as
when the dialog was last open.
what gives? how can I make this work without having to resort to using
the Window API?
thanks in advance,