dialogArguments object
Provides a print template with access to the dialogArguments properties passed to the print preview dialog window.
Members
The dialogArguments object has these types of members:
Properties
The dialogArguments object has these properties.
| Property | Description |
|---|---|
|
Retrieves the index of the active frame in the frames collection. | |
|
Retrieves an integer specifying the font size of the print template. | |
|
Retrieves the document object of the page being printed or print-previewed. | |
|
Retrieves a string specifying the URL of a temporary copy of the source document for the print template. | |
|
Retrieves a string specifying the URL of a temporary .htm file containing the current selection in the browser. | |
|
Retrieves a string that specifies the URL of the document. | |
|
Retrieves a string specifying the footer string from the Page Setup dialog box. | |
|
Retrieves a string specifying the header string from the Page Setup dialog box. | |
|
Retrieves a string specifying the Outlook header string. | |
|
Retrieves a string specifying the printer device driver if one was specifcied by the caller. | |
|
Retrieves a DEVMODE structure that contains information about the device initialization and environment of a printer. | |
|
Retrieves a DEVNAMES structure that contains strings which identify the driver, device, and output port names for a printer. | |
|
Retrieves a string specifying the printer port if one was specified by the caller. | |
|
Retrieves a string specifying the printer name. | |
|
Retrieves a string specifying whether a print template should prompt the user with the Print dialog box, with the Print Preview dialog box, or not prompt the user at all. | |
|
Retrieves a string specifying the URL of the print template. | |
|
Retrieves a reference to a list of temporary file names saved from this document. | |
|
Retrieves a print flag value. |
Remarks
This implementation of dialogArguments applies only to print templates.
The properties of this object are available to a print template regardless of whether it displays a print preview user interface. Its most important property is __IE_PrintType, which specifies whether the template should prompt the user before printing. A print template usually queries this property to determine how to handle a print job.
See also
- Reference
- LayoutRect
- DeviceRect
- TemplatePrinter
- HeaderFooter
- IDM_PRINT
- IDM_PRINTPREVIEW
- Other Resources
- Beyond Print Preview: Print Customization for Internet Explorer 5.5
- Print Preview 2: The Continuing Adventures of Internet Explorer 5.5 Print Customization