Can not change the printer in windows 2000

Hello! I have one application with which I print reports with Fast Report and to choose the printer I use a PrintDialog. The problems is that with Windows XP it works perfectly, but when the application rund in Windows 2000, it doesn't work fine, it prints always in the default printer.

The code I use is:

PrintDialog.Copies:=NumOrig+NumCopia;
if PrintDialog.Execute
then begin
copias:=PrintDialog.Copies;
collate:=PrintDialog.Collate;
end
else exit;

frInforme.PrintOptions.Printer := Printer.Printers[Printer.PrinterIndex];
frInforme.SelectPrinter;

frInforme.ShowProgress:=False;

Thank you in advance.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.