Print Templates, Part II: TemplatePrinter: Loading Print Templates - Doc JavaScript | WebReference

Print Templates, Part II: TemplatePrinter: Loading Print Templates - Doc JavaScript


Print Templates, Part II: TemplatePrinter

Loading Print Templates

You can call print templates only from C++. Luckily enough, Microsoft prepared a versatile application to which you can specify your own print template and your own page to view and print. For this and other columns to follow, you need to have this application installed. Please save it to one of your hard drives, and then click it twice. You'll get something like this:

Notice the two fields you can enter your own entries into: print template and file to display. Save the example on Page 6 to one of your hard drives. Specify its absolute location in the bottom field. Switch the top entry to a file of your choice. It should be a URL that starts with protocol://. Be sure to press the ENTER key at the end of the URL. Only then, the executable loads your input file and previews it in the display area. We could not make it work on local files.

Next: How to assemble a print template with TemplatePrinter


http://www.internet.com


Produced by Yehuda Shiran and Tomer Shiran
All Rights Reserved. Legal Notices.
Created: August 27, 2001
Revised: August 27, 2001

URL: http://www.webreference.com/js/column91/2.html