enhancedFormatting
Description
Enhanced formatting provides for finer control over the headings and footers by allowing HTML snippets to be used, and for an enhanced page range specification.
Enhanced formatting requires ScriptX v7 or later and Internet Explorer 8 or later. It is a replacement for MaxiPT. MaxiPT is still available for those still dealing with older browsers.
Enhanced formatting is a cost option addition to the license, it is not covered by a standard Advanced Printing license. Please seee License & Pricing for details.
Syntax
ef = factory.printing.enhancedFormatting
Properties
allPagesHeader, allPagesFooter, firstPageHeader, firstPageFooter, extraFirstPageFooter, allHeaderHeight, allFooterHeight, firstHeaderHeight, firstFooterHeight, extraFirstFooterHeight.
Example
<script>
function initFormatting() {
var ef = factory.printing.enhancedFormatting;
ef.allPagesHeader: "<div style='border: 1pt solid red; font: bold 12pt Arial;
background: threedface; color: navy; padding-Top: 5px; padding-Bottom: 6px;
background-Image: url(http://www.meadroid.com/images/non_act_bg.jpg)'>
<center> --- Header for page <b> &p </b>---</i></center></div>",
ef.allPagesFooter: "<div style='border: 1pt solid red; font: bold 12pt Arial;
background: threedface; color: navy; padding-Top: 5px; padding-Bottom: 6px;
background-Image: url(http://www.meadroid.com/images/non_act_bg.jpg)'>
<center> --- Footer for page <b> &p </b> ---</i></center></div>"
ef.firstPageHeader: "<div style='border: 1pt solid red; font: bold 12pt Arial;
background: threedface; color: white; padding-Top: 5px; padding-Bottom: 6px;
background-Image: url(http://www.meadroid.com/images/act_bg.jpg)'>
<center> --- Header for page <b> &p </b>--- </center></div>",
ef.firstPageFooter: "<div style='border: 1pt solid red; font: bold 12pt Arial;
background: threedface; color: white; padding-Top: 5px; padding-Bottom: 6px;
background-Image: url(http://www.meadroid.com/images/act_bg.jpg)'>
<center> --- Footer for page <b> &p </b>--- </center></div>",
ef.extraFirstPageFooter: "<div style='color:red; font:bold 6pt Arial'>
<img src='http://www.meadroid.com/support/sx_stat.gif'>
EXTRA FIRST PAGE FOOTER AS IMAGE<br> </div>",
}
<script>
Applies To
printing