API Documentation
>
CorelDRAW
>
2025-v26
>
SystemPrinters
>
IPrnVBAPrinters
SystemPrinters.Count property
Returns the number of installed printers
Syntax:
Property
Get
Count
(
)
As
Long
Remarks:
The
Count
property returns a read-only value consisting of the number of printers in the
SystemPrinters
collection.
Examples:
The following VBA example displays the number of installed printers.
Sub Test() MsgBox "There are " & Printers.Count & " printers installed on your system" End Sub