Previous Document Next Document

Object Model Reference : Classes : S : SystemPrinters : Properties : SystemPrinters.Count


SystemPrinters.Count

Property Count As Long

Description

Member of SystemPrinters

The Count property returns the number of printers in a SystemPrinters collection.

The Count property returns a read-only value.

VBA example

The following VBA example displays the number of installed printers.

Sub Test()
 MsgBox "There are " & Printers.Count & " printers installed on your system"
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.