The plugin Print Services available separately lets you create PDF documents from the form that are easier to print. To use this plugin, create a new action of type Execute plugin in the workflow and select this plugin. The page format of the created PDF document is A4.

Options

  • File name: File name of the created PDF document.
  • Print mode: Input elements as text: Input elements are converted into plain text fields and the form is adapted to the width of the page.
  • Druckmodus: Web view: No changes are made to the form and it is converted so that it looks as closely as it does in a web browser as possible.
  • Zoom factor: Factory by which the form is scaled. Use this to magnify or scale down very large or very small forms.
  • User groups: A virtual user is created when opening the form with Selenium. Select the user groups here to which this virtual user should belong to. Form elements can be configured to be displayed or editable only for certain user groups.
  • URL parameter: Additional URL parameters added to the URL used when opening the form with Selenium. You can use URL parameters to prefill form fields or access them from within JavaScript.

Input elements

To optimize the form for printing, form elements of type input field, text area und select (Drop-Down) may be converted to plain text fields, see the options above. 

Additionally, the CSS classes print and XSpan are added to the converted input element that can be used for styling them. For example, in order to change the font size, you can use the following CSS:

.print.XSpan {
 font-size: 18pt;
 font-family: serif;
}

To overwrite some properties of the default CSS shipped with {{formcycle}}, use more specific selectors such as:
xm-form .xm-content div.print.XSpan {
  font-size: 18pt;
  font-family: serif;
}

Most properties do not require this, however.

Copyright 2000-2024