共用方式為


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

Properties

The dialogArguments object has these properties.

Property Description

__IE_ActiveFrame

Retrieves the index of the active frame in the frames collection.

__IE_BaseLineScale

Retrieves an integer specifying the font size of the print template.

__IE_BrowseDocument

Retrieves the document object of the page being printed or print-previewed.

__IE_ContentDocumentUrl

Retrieves a string specifying the URL of a temporary copy of the source document for the print template.

__IE_ContentSelectionUrl

Retrieves a string specifying the URL of a temporary .htm file containing the current selection in the browser.

__IE_DisplayUrl

Retrieves a string that specifies the URL of the document.

__IE_FooterString

Retrieves a string specifying the footer string from the Page Setup dialog box.

__IE_HeaderString

Retrieves a string specifying the header string from the Page Setup dialog box.

__IE_OutlookHeader

Retrieves a string specifying the Outlook header string.

__IE_PrinterCMD_Device

Retrieves a string specifying the printer device driver if one was specifcied by the caller.

__IE_PrinterCmd_DevMode

Retrieves a DEVMODE structure that contains information about the device initialization and environment of a printer.

__IE_PrinterCmd_DevNames

Retrieves a DEVNAMES structure that contains strings which identify the driver, device, and output port names for a printer.

__IE_PrinterCMD_Port

Retrieves a string specifying the printer port if one was specified by the caller.

__IE_PrinterCMD_Printer

Retrieves a string specifying the printer name.

__IE_PrintType

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.

__IE_TemplateUrl

Retrieves a string specifying the URL of the print template.

__IE_TemporaryFiles

Retrieves a reference to a list of temporary file names saved from this document.

__IE_uPrintFlags

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