Windows API Guide - Reference - Volume 1: Version 3.0 For the MS-DOS and PC-DOS Operating Systems
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.
Constant Definitions
Const PRINTER_ACCESS_ADMINISTRATOR = &H4 Const PRINTER_ACCESS_USE = &H8 Const PRINTER_ALL_ACCESS = &HF000C
Used By
OpenPrinter
Go back to the alphabetical Structure listing. Go back to the Reference section index.
Last Modified: November 28, 1999 This page is copyright © 1999 Paul Kuliniewicz. Copyright Information Revised October 29, 2000 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_defaults.html