ITemplatePrinter interface
Provides a print template with access to page setup and printer settings, as well as control over print jobs initiated from the template.
Members
The ITemplatePrinter interface inherits from the IDispatch interface. ITemplatePrinter also has these types of members:
- Methods
- Properties
Methods
The ITemplatePrinter interface has these methods.
Method | Description |
---|---|
ensurePrintDialogDefaults | |
printBlankPage | |
printNonNative | |
printNonNativeFrames | |
printPage | |
showPageSetupDialog | |
showPrintDialog | |
startDoc | |
stopDoc | |
updatePageStatus | Indicates the status of a print job. |
Properties
The ITemplatePrinter interface has these properties.
Property | Description |
---|---|
Gets or sets a value that indicates whether the pages of a document are collated when printed. |
|
Gets or sets the number of copies of the document to print. |
|
Gets or sets the footer formatting string from the Page Setup Dialog Box. |
|
Gets or sets a value that indicates whether the selected frame is the only one printed. |
|
Gets or sets a value that indicates whether the document's frames are printed exactly as they appear on the screen. |
|
Gets or sets a value that indicates whether all or none of the documents in the frameset are printed. |
|
Gets or sets the header formatting string from the Page Setup Dialog Box. |
|
Gets or sets the bottom margin of the document to be printed. |
|
Gets or sets the left margin of the document to be printed. |
|
Gets or sets the right margin of the document to be printed. |
|
Gets or sets the top margin of the document to be printed. |
|
Gets or sets the first page in the document to be printed. |
|
Gets the current height of a page on the printer. |
|
Gets or sets the last page in the document to be printed. |
|
Gets the current width of a page on the printer. |
|
Gets or sets a value that indicates whether the entire document or a selected range of pages is printed. |
|
Gets the size of the bottom unprintable margin for the current printer. |
|
Gets the size of the left unprintable margin for the current printer. |
|
Gets the size of the right unprintable margin for the current printer. |
|
Gets the size of the top unprintable margin for the current printer. |
Remarks
In Windows Internet Explorer 9, the ITemplatePrinter interface was moved to mshtml.idl
. In earlier versions of Windows Internet Explorer, include iextag.idl
for an interface declaration.
Requirements
Minimum supported client |
Windows XP |
Minimum supported server |
Windows Server 2003 |
Header |
Mshtml.h |
IDL |
Mshtml.idl |