These two lines may be usefull to you - using a combo for the printer
selection...

{Populate Combo}
 FComboPrinter.Items.Assign(Printer.Printers);

{getting it back}
Index := FComboPrinter.Items.IndexOf(Printer.Printers[Printer.PrinterIndex])



-----Original Message-----
From: Alistair George <[EMAIL PROTECTED]>
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
Date: Wednesday, 24 November 1999 12:14 PM
Subject: RE: [DUG]: Printerindex Property


> How do you deal with different printer indexes on different
> machines or if a
> printer index changes through adding, deleting or renaming printers?
Valid point. Will change code to suit sometime. Still doesnt explain why a
set printer is not working next time around though.
Al+

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to