Section |
---|
Column |
---|
By selecting a form's printable checkbox a print icon will be displayed at the top of your form. When the form is used and the printer icon is clicked the form is rendered in a new browser tab and a pdf document is generated and downloaded depending on your browser settings. The name of the pdf file will be <form name>.pdf unless the form was designed to name the pdf something different. The form pdf file can then be printed. Only PDFs are supported. Info |
---|
Workflows do not currently support this print feature. See Printing Flows for other options. |
All controls also have a printable property. A control's Printable property is checked by default. If you un-check this property then the control will not appear in the pdf. This property can also be set dynamically via a business rule by setting <control>.printable = [true|false].
There are a few differences between the browser view and the print view. For instance, decorators and placeholders do not appear in the pdf document; collapsed sections will appear expanded; and tabs will be rendered one tab under another. Print Styles, (font, orientation, margins and header/footer content) for PDFs generated as part of a submission can be selected by the designer. Note |
---|
If you are trying to make the print view of a table control consistent with the browser view, set the column widths explicitly at either the column cell level or at the table level. |
Use the PDF generation feature if you need a "Pixel Perfect" representation of your form. |
|
...
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.
...
Code Block |
---|
<center>
<a href="?print=true&format=pdf"><span id="f-form-tb-print-span#" onclick="_frevvo.api.forms.printer.printFlowStep(this);">Print PDF</span></a>a>
<center> </center>
</center> |
If you were using the onclick call to _frevvo.api.printFlowStep(this), this has been deprecated. Please replace this as shown in the sample above with the onclick call to _frevvo.api.forms.printer.printFlowStep(this);
...