Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 

 


Section


Column

Print View

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 Workflows 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.


Column
width240px

On This Page:

Table of Contents
maxLevel2


...

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:

  1. Stop the  server
  2. Uncompress/expand Open the directory <frevvo-home>/tomcat/webapps/frevvo .war file and copy the WEB-INF/fonts to a temporary location on your desktop.
  3. Add your font file (unifont.tff file is an example) to the WEB-INF/fonts directory.
  4. Re-WAR to create a new updated frevvo.war file.Save the file
  5. Replace the original frevvo.war WEB-INF/fonts file with the new updated frevvo.war file, typically located in this directory: <frevvo-home>/tomcat/webapps.
  6. Re-start your   server.
  7. Select the Print Font for PDFs in the Forms Designer as discussed below. 

...

Apply the style to your form by selecting it from the Style dropdown on the Style tab on the Form Properties Wizard.

   

The default PDF print font is not a match for an html Arial font. Select DejaVuSans from the Print Font property and the PDFs will now have a very close approximation to the Arial font.  If you want the PDFs to be printed using a true Arial font, then you must purchase the correct font, install it, and select it from the Print Font property. Once you have the Arial font set you want to use, follow the steps for  Installing the Character Set to add it to . Finally select your new font. The example shown below is for a font file called arialuni.ttf. Your font family name may be different.   

...

Info

The same technique above can also be used for workflows. In the case of a workflow 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.

 

...