Section | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
The font set that you are going to use must be available to at PDF rendering time. This is accomplished by placing the fonts in the /WEB-INF/fonts folder after expanding the frevvo.war.
Follow these steps:
- Stop the server
- Uncompress/expand the <frevvo-home>/tomcat/webapps/frevvo.war file to a temporary location on your desktop.
- Add your font file (unifont.tff file is an example) to the WEB-INF/fonts directory.
- Re-WAR to create a new updated frevvo.war file.
- Replace the original frevvo.war file with the new updated frevvo.war file, typically located in this directory: <frevvo-home>/tomcat/webapps.
- Re-start your server.
- Select the Print Font for PDFs in the Forms Designer as discussed below.
...
- Add a message control to your form
Add the following HTML to your message control
Info When adding HTML to a message control you must add it in Source View. Click the Source button, add the html, then save the text. Refer to the Palette Controls topic for details on Source View.
Code Block |
---|
<center> <a titlehref="Print this form" onclick="_frevvo.api.printFlowStep(this);" href="#" class="f?print=true&format=pdf"><span id="f-form-tb-print-span">Print Form</a> |
...
PDF</span></a>
</center> |
Info |
---|
The same technique above can also be used for flows. In the case of a flow the custom print button will print the currently visible workflow step and not the combination of all the steps in the workflow. The current activity will print even if the activity's print property is unchecked. |
...