RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPrinter.PrinterIndex Property

Specifies which printer listed in the Printers property is the currently selected printer.

Pascal
property PrinterIndex: Integer;
C++
__property int PrinterIndex;

The value of PrinterIndex is the currently selected printer. If this value is changed, EndDoc is called automatically. To select the default printer, set the value of PrinterIndex to -1. 

The list of installed printers is found in the Printers property. The list of fonts supported by the current printer is found in the Fonts property. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!