Printer settings
Hi,
I would like to use my printer dialog derived from TPrintDialog to choose and setup the printer from the code but the printer settings (like color or bin) are not applied.
I run this code after my report is prepared:
If I use the FastReport printer dialog, the settings are applied but the bin isn't OK.
I search in the forums but I've found solution.
Thank you.
I would like to use my printer dialog derived from TPrintDialog to choose and setup the printer from the code but the printer settings (like color or bin) are not applied.
I run this code after my report is prepared:
myIndex := frxPrinters.IndexOf(Printer.Printers[Printer.PrinterIndex]);
if myIndex <> -1 then
begin
frxPrinters.PrinterIndex := myIndex;
FReport.PrintOptions.Printer := frxPrinters[myIndex].Name;
FReport.SelectPrinter;
If I use the FastReport printer dialog, the settings are applied but the bin isn't OK.
I search in the forums but I've found solution.
Thank you.
Comments
Best regards