Skip to main content
Skip table of contents

Print Configuration


In order to change the appearance of printed documents i.e. Word or PDF), you can modify the word template, in the template you can use different fonts and styles. and for example smart text tags to make document headers and footers.

Fonts

When changing fonts you need to be aware that the fonts must be known to the server while generating PDFs since they are embedded. Therefore if you plan to directly generate PDF ask us for a list of available fonts.


Besides changing the fonts you can also define default rules for html blocks (rich text) embedded in the document. This is done using project JSON settings.

Example html formatting

JS
{
  "richtextCSS":"font-family:Calibri,Arial;font-size:11pt;table, th, td { border: 1px solid black;}",
  "richtextStyle":".table-bordered {width:100%} table, tr, th, td  { border: 1px solid #000; border-collapse:collapse }"
}

If the server converts the html code provided by the richtext editor, it produces the following code

CODE
<style>richtextStyle</style>
<span style="richtextCss">ORIGINAL HTML CODE</span>
  • use richtextStyle to specifically overwrite some predefined classes
  • use richtextCSS to define styles for entities which are not styled by a class.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.