PRINTER_INFO_1 Structure

Type PRINTER_INFO_1
  flags As Long
  pDescription As String
  pName As String
  pComment As String
End Type

PRINTER_INFO_1-type variable store information about a printer. This structure stores a few pieces of information relating to a printer.

flags
One or more of the following flags providing information about the printer:
PRINTER_ENUM_CONTAINER = &H8000
The object the structure describes is a container, such as a print server controlling multiple printers.
PRINTER_ENUM_EXPAND = &H4000
The program should further enumerate the printer if default expansion on it is enabled.
PRINTER_ENUM_ICON1 = &H10000
To represent the printer, the program should use an icon representing a top-level network name.
PRINTER_ENUM_ICON2 = &H20000
To represent the printer, the program should use an icon representing a network domain.
PRINTER_ENUM_ICON3 = &H40000
To represent the printer, the program should use an icon representing a print server.
PRINTER_ENUM_ICON8 = &H800000
To represent the printer, the program should use an icon representing a printer.
pDescription
A description of the printer.
pName
The name of the printer.
pComment
Comments or a brief description of the printer.

Used by: EnumPrinters

Go back to the alphabetical Structure listing.
Go back to the Reference section index.


This page is copyright © 2000 Paul Kuliniewicz. Copyright Information.
Go back to the Windows API Guide home page.
E-mail: vbapi@vbapi.com Send Encrypted E-Mail
This page is at http://www.vbapi.com/ref/p/printer_info_1.html