AccusoftPrintPro8 ActiveX DLL > PrintPro Object : PrinterNum Property |
Gets the index of the current printer in the printer collection.
Visual Basic |
---|
Public Property PrinterNum As Long |
Not available at design time. PrintPRO maintains a list of available printers in an internal collection (array). The NumPrinters property can be used to determine the number of printers in the collection. The PrinterName method can be used to get the name of a printer based on its index in the collection. The SelectPrinter method can be used to select a printer based on its index in the collection. The property returns the index of the current printer.