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
Back to the index.


Go to Paul Kuliniewicz's Home Page.
E-mail: rogue953@hotmail.com
This page is at http://skyscraper.fortunecity.com/transmission/45/api/p/printer_info_1.html