PRINTER_INFO_4 Structure

Type PRINTER_INFO_4
  pPrinterName As String
  pServerName As String
  Attributes As Long
End Type

PRINTER_INFO_4-type variables store a very terse set of information about a printer. The information is limited to the name of the printer and on which network server (if any) it is located on.

pPrinterName
The name of the printer.
pServerName
The name of the network server the printer is on, if it is a network printer.
Attributes
Exactly one of the following flags specifying whether the printer is locally connected or is on the network:
PRINTER_ATTRIBUTE_LOCAL = &H40
The printer is located on the network.
PRINTER_ATTRIBUTE_NETWORK = &H10
The printer is directly connected to the computer.

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_4.html