Managing Zegeba Forms from the Dashboard

4.8 Printing forms

Page numbers

Page numbers can be added to a title in a footer or header element.

{%pageNo} – adds the page number
{%pageNoTotal} – adds the total number of pages.

Example of use:
{%pageNo} / {%pageNoTotal}

Note: These parameters differ from the similar {%Page} and {%PageTotal}, who number the pages defined in the form, not the pages in the printout.

Page header

Add a Header element to the first page. If you don’t specify this, a default header will be added. The header of the first page will be inserted on all pages unless you specify new headers for the individual pages.

Note! The Page Margins may have to be adjusted to make room for the header. These are set in the Print tab of the properties of the main Form element. Test the sizes of these to make sure the header appears the way you want it in the PDF report. 

Page footer

Add a Footer element to the first page. If you don’t specify this, a default footer with the Zegeba logo will be added. The footer on the first page will be inserted on all pages unless you specify new footers for the individual pages further back.

Note! The Page Margins may have to be adjusted to make room for the footer. These are set in the Print tab of the properties of the main Form element. Test the sizes of these to make sure the footer appears the way you want it in the PDF report.

Page orientation

Page orientation can be set on the entire form as well as for the individual page elements. Portrait is the default orientation.
To change page orientation:

  1. Select the Form element on top of the Elements section,
    – or –
    select an individual Page element in the form.
  1. Go to the Print tab in Element Properties, and
    in the Page orientation field select either Portrait or Landscape.

Page size

Set page size as [width, height] or as A4, A5, A3, Letter etc. A4 is default page size.
To change the page size:

  1. Select the Form element on top of the Elements
  2. Go to the PDF tab in Element Properties, and
    in the Page size field specify [<width>, <height>] in cm.

Page size can only be set on the entire Form, not for individual pages.

Page margins

The page margins are set for the entire Form.
Use one of the following 3 formats:

  • A single number – e.g. 20 – will set all margins equal to this number of pixels.
  • [horizontal, vertical] – e.g. [20,40]. This means that the left and right margins are both set to 20, and the top and bottom margins are set to 40 pixels.
  • [left, top, right, bottom] – e.g. [20, 10, 30, 30]. Use this to assign individual sizes to the 4-page margins.

Handy tips for printing

Some elements should not be divided on two separate printed pages. Click the option Do not separate to ensure that everything in an element is printed on the same page.