PRINTER_DEFAULTS Structure
Type PRINTER_DEFAULTS
pDatatype As String
pDevMode As DEVMODE
DesiredAccess As Long
End Type
Description & Usage
The PRINTER_DEFAULTS structure specifies some settings for opening a printer. The structure also contains information to use to initialize the printer.
Visual Basic-Specific Issues
None.
Data Members
- pDatatype
- The name of the default data type for the printer.
- pDevMode
- Information used to provide the initialization settings for the printer.
- DesiredAccess
- Windows NT, 2000: One of the following flags specifying access rights to the printer:
- PRINTER_ACCESS_ADMINISTER
- Access to perform administrative tasks.
- PRINTER_ACCESS_USE
- Access to perform basic printing operations.
- PRINTER_ALL_ACCESS
- Access to perform all administrative and basic printing tasks except for synchronization.
Windows 95, 98: Reserved -- set to 0.
Constant Definitions
Const PRINTER_ACCESS_ADMINISTRATOR = &H4
Const PRINTER_ACCESS_USE = &H8
Const PRINTER_ALL_ACCESS = &HF000C
Used By
OpenPrinter
Back to the index.
Last Modified: November 28, 1999
This page is copyright © 1999 Paul Kuliniewicz. Copyright Information
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_defaults.html