Contact Us!
303|905-4110

Turning a field in BP Forms is easy to accomplish.

  1. Edit the form template in Open office
  2. Select the field/tag that you wish to barcode
  3. Choose the barcode font such as IDAutomationHC39M
  4. Save the form.  The tag will now render as a barcode.
  5. To adjust the barcode size, simple adjust the font size.
  6. To adjust the letting (spacing), simply use the settings under font settings and save the template

Related Links

Form Design: Using Barcodes

Form Design: Document Elements in Form Design

BP Form templates are simply OpenOffice/Libre Office .odt files.  So, any feature available to these documents is available to you when creating a template.  See the article Form Design: Document Elements in Form Design and the section entitled Using Special Characters for Effect.

Related Links:

Form Design: Document Elements in Form Design

BP Forms relies on the CUPS-PDF driver on the Linux Print server to produce PDF documents.  CUPS-PDF is a special print driver.  By creating CUPS printer on the print server that uses the CUPS-PDF driver, CUPS will deliver the document as a PDF stored in a directory rather than to a physical paper printer.  This PDF can then be accessed by your program or by your user's as needed.  The name of the PDF file will be the name of your generated .odt file with the .odt replaced with .pdf. 

Most BP Forms systems are configured to drop the rendered pdf documents into a subdirectory under the BPIFORMS account directory. 

For example: 

.../BPIFORMS/bpi_forms/pdf

A more comprehensive discussion of PDF configuration can be found in Managing Printers and Jobs

 

While most legacy print programs attempt to count lines and perform pagination within the print program, this is a bad practice that we recommend discontinuing when moving to Blue Prairie Forms.  OpenOffice/Libre Office offers a variety of mechanisms for handling pagination and page numbering (including total pages) automatically.  By keeping pagination in the template, rather than in the server-side print program, it is possible to simplify the server-side code by simply allowing the server-side print program to assume that it is dealing with one infinitely-long sheet of paper.  The pagination will be automatically handled by OpenOffice/LibreOffice when it renders the document.

See Page Numbering Tutorial

The simplest way

Don't use footers, put the totals at the bottom of the template body and let it naturally flow

To make totals appear on only the last page of the document is to place the total placeholders in the body of the document rather than in the footer of the document.  The footer will normally repeat for each page of the document whereas if you simply place your totals in the body of the document, after the repeating placeholders, then they will naturally appear on the last page only.  There are other ways in OpenOffice/LibreOffice to use firstpage and lastpage styles to achieve the totals on last page effect, but placing the totals within the body after the repeating tags is the simplest.  While this is the simplest method, it does carry the following limitations:

  • The totals on the last page will 'float up' the last page depending on the number of detail lines displayed in the document.
  • Unless you set the properties of the paragraph or table containing the totals so that it will not break across pages, depending on the number of rows displayed on the page, the total lines may break across two pages.

 

The less simple, slightly more complex but much better way

Don't use footers and force a fixed size grid using increment and finalincrement

Due to a current limitation in OpenOffice/Libre Office, it is not possible to use footers, footnotes or endnotes to model a different footer on the last page of the document.  To simulate this effect, you should use {repeat} tags with the increment and finalincrement parameters.   A description of this technique is documented in the article Form Design: Using Repeat Tags.

The basic idea is that you will use the repeat tag with increment and finalincrement parameters to display a fixed number of rows on each page (a grid).  The grid for all but the last page of the document will be set to the number of rows specified by the increment parameter.  The last page will be set to the number of rows specified by the finalincrement parameter.  Using these parameters, you can simple place the totals in a row below the repeated row or in a separate table or text area below the table.  The position of the totals will be preserved by the fixed spacing achieved by the increment and finalincrement parameters.  In other words, the last page will have fewer displayed rows that the prior pages so this will allow room for your total rows or text areas on the page.