This example demonstrates the Optimal Layout capability of the Feature Set #2 provided by MeadCo's MaxiPT print template.
Invoke Print Preview here or from IE's native controls to see it in action. You can view the source of this example here.
Optimal Layout
In Print Preview, select the Page Setup toolbar button and set all margins to "0".
The Optimal Layout functionality can be set from script as follows:
document.printingRules.optimalPageLayout = true;
document.printingRules.limitContentLastPage = 2.5; // inches
document.printingRules.optimalPageLayoutDirection = "Equally"; // "Top", "Bottom", "Equally"