Chapter 2 -- 26
Programmer’s Guide
PrinterSystem Object
Properties Methods
(None) Families
Models
Printers
Ports
Add
Remove
Rename
"
""
" PrinterSystem.Families
VTS_DISPATCH or Strings
Families ()
Retrieves printer families list.
"
""
" PrinterSystem.Models
VTS_DISPATCH or Strings
Models ( strFamilyName)
Retrieves models associated with a family.
Parameters:
strFamilyName Optional VT_BSTR or String
.Itspecifiesthe
Family for which the models list is needed. If none, it returns the
full models list.
"
""
" PrinterSystem.Printers
VTS_DISPATCH or Strings
Printers ( intKindOfPrinters)
Retrieves installed printers as string pairs < Printer, Port >.
Parameters:
intKindOfPrinters OptionalVT_I2orInteger
or enumKindOf-
Printers
.(default lppxInternalPrinters).
Thevaluecanbeoneofthefollowing:
lppxInternalPrinters= 1
lppxWindowsPrinters= 2
lppxAllPrinters= 3
Object
Methods