Windows API Guide: Extended Window Styles


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

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



Windows API Guide
Windows API Guide - Reference - Volume 1: Version 3.0 For the MS-DOS and PC-DOS Operating Systems
ISBN: B001V0KQIY
EAN: N/A
Year: 1998
Pages: 610

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net