This document is archived and information here might be outdated. Recommended version. |
Provides access to members that control the default printer page settings.
Name | Description | |
---|---|---|
Attach | Attach object to specified DEVMODE and DEVNAMES structures. This must be called before using other properties and methods. | |
FormID | The printer page form. Use Win32 DMPAPER_xxx constants. | |
FormName | The Form Name. | |
Forms | Enumerate forms supported by the printer. | |
Orientation | The printer page orientation (1 = portrait. 2 = landscape). | |
PrintableBounds | The area of the printer page that can be printed on. | |
PrinterInfo | Display the Print Setup Dialog. | |
PrinterName | The Printer Name. | |
QueryPaperSize | Returns the size of the printer paper. Units property specifies measurement units. | |
TrayID | The printer tray. Use Win32 DMBIN_xxx constants. | |
Trays | Enumerate trays supported by the printer. | |
Units | The units used by the other properties. |
Classes | Description |
---|---|
Paper | The default printer page settings. |