[Overview][Types][Classes][Variables][Index] |
Contains the ordinal position in Printers for the selected print device.
Source position: printers.pas line 323
public property TPrinter.PrinterIndex : Integer |
PrinterIndex is an Integer property which contains the ordinal position in Printers for the selected print device. The default value for the property is -1, and indicates that a print device has not been selected and that the default printer should be used. The default printer is the first one in the Printers property.
Setting a new value in PrinterIndex causes the CheckPrinting method to be called to ensure that the value in Printing is False. An exception is raised in CheckPrinting when Printing is set to True. Set the value for the property prior to calling the BeginDoc method.
An exception may also be raised for the following conditions:
The SetPrinter method is called to make the named device the selected print device. DoResetFontsList is called to reload the values in the Fonts property.
|
Starts printing for the current document. |
|
|
Performs actions needed to reset the list of Fonts for the selected printer. |
|
|
the list of available Fonts for the current printer. |
|
|
True if the document is currently being printed. |
|
|
Contains the names for devices that can be selected for printing. |
|
|
Makes the device with the specified name the current printer. |
|
|
Exception raised for errors in TPrinter methods. |
Version 3.2 | Generated 2024-02-25 | Home |