Print Templates, Part II: TemplatePrinter: A Final Word - Doc JavaScript
Print Templates, Part II: TemplatePrinter
A Final Word
In this column we continued our series on print templates. We showed you how to write a simple print template that supports print previewing, as well as printing, with and without prompting. We explained how to pass the printing parameters via the dialogArguments
variable, and how to cipher the user's action. We described how to install the event handler that will print the document upon loading. You need to download a Microsoft application that can load your print templates and the documents you want to print. We demonstrated how to use it.
In this column you have learned:
- How to use Microsoft print template loader
- How to assemble a print template with
TemplatePrinter
- How to cipher
dialogArguments
for the desired action - How to print a document
We also showed you the full code listing of the print template(II). You could load it from the enclosed zipped file.
Produced by Yehuda Shiran and Tomer Shiran
All Rights Reserved. Legal Notices.
Created: August 27, 2001
Revised: August 27, 2001
URL: https://www.webreference.com/js/column91/7.html