September 1, 2001 - Introducing TemplatePrinter | WebReference

September 1, 2001 - Introducing TemplatePrinter

Yehuda Shiran September 1, 2001
Introducing TemplatePrinter
Tips: September 2001

Yehuda Shiran, Ph.D.
Doc JavaScript

The TEMPLATEPRINTER element is very rich in methods and properties which accommodate many of your printing and previewing needs. Here is how you define a TEMPLATEPRINTER element with ID="printer":

<IE:TEMPLATEPRINTER ID="printer"/>
Notice that this TEMPLATEPRINTER element is defined in the IE namespace. You define the XML namespace in the opening HTML element:

&ltHTML XMLNS:IE>
Also notice that the TEMPLATEPRINTER element does not have a closing tag. It must have a forward slash (/) before its closing bracket.