PRINTER_INFO_5 Structure
Type PRINTER_INFO_5
pPrinterName As String
pPortName As String
Attributes As Long
DeviceNotSelectedTimeout As Long
TransmissionRetryTimeout As Long
End Type
PRINTER_INFO_5-type variables hold information about a printer. This structure only identifies a few of the possible pieces of information associated with a printer.
- pPrinterName
- The name of the printer.
- pPortName
- A comma-separated list of the ports the printer is connected to, such as LPT1:.
- Attributes
- Zero or more of the following flags identifying various attributes of the printer:
- PRINTER_ATTRIBUTE_DEFAULT = &H4
- The printer is the default printer.
- PRINTER_ATTRIBUTE_DIRECT = &H2
- The printer is physically connected to the computer (i.e., it is not a network printer).
- PRINTER_ATTRIBUTE_QUEUED = &H1
- The printer supports queueing (?).
- PRINTER_ATTRIBUTE_SHARED = &H8
- The printer is a network printer.
- PRINTER_ATTRIBUTE_WORK_OFFLINE = &H400
- The printer can work if the computer is not connected to the network (?).
- DeviceNotSelectedTimeout
- The maximum time, in milliseconds, between attempts to select the printer.
- TransmissionRetryTimeout
- The maximum time, in milliseconds, between document transmission retries.
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_5.html