Versions Compared

Key

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

(TP52685 / 2023.XXXX3701)

Purpose

To print value cards with custom design.

Use an image with 300dpi 600dpi or higher for a sharp printed result.

Creating a background image

  • Use the following template to create the image, with blank space for the values you choose to include.

  • Scale up to 600 or 1200 DPI (9922 x 14032 pixels)

Template

...

Example

...

Configuration

To configure report with background.
First, you need to create

  1. Create new or edit exiting value card

...

  1. report

...

posible report options:

  1. valuecard_custombackground_thirdOfPage.jasper

  2. valuecard_custombackground_halfOfPage.jasper

  3. valuecard_custombackground_fullPage.jasper

  4. Select the template “valuecard_custombackground.jasper”

  5. Select the background image you created

  6. Select the fields that should be added on top of the image (name, QR card and more) by enabling them with properties listed below.

Image Added

second thing is to set background image it self, witch should be related to selected report template

...

valuecard_custombackground_fullPage.jasper image ratio should be 1.55 (for example 580px to 900px)

...

Properties

...

showBarcode (bar code, default false)

...

Properties

Add “constants” to the report template in Configuration

...

  • showLogo (show the facility logo on the top left, default true)

  • showNumber (value card number, default true)

  • showPrice showBarcode (show amountbar code, default ?false)showReceiver

  • showQRcode (show nameQR code, default ?true)

  • showValid (show expiration date, default ?true)

  • showThisValidUntil - (set hardcoded string instead of "valid to" date)

  • showFacility showValidUntilLabel - (show the facility of the value cardlabel for the expiration date field, default ?false)showLogo (show the facility logo on the top left

  • hidePrice (hide amount, default ?)

Full page

...

Half page

Image Removed

Third of a page

Background image examples:

...

Examples of reports:

View file
namePresentkort-X3.pdf
View file
namePresentkort-X2.pdf
View file
namePresentkort-X1.pdf

Combining multiple value cards on a single page

BRP cannot combine more than one value card on a page, but it is possible with some third party PDF software.

First, to generate multiply reports in single document you should setup that feture like its described hereMerged reports then generate some document with mulptly reports.
Second, save generated file, localy and onpen with some advanced PDF software, for example Acrobat Reader, press print button, and setup it like on screenshot, if you need 3 third of page size value cards on single sheet

...

or like on next screen for 2 of half size value cards on single sheet

...

  • false)

  • hideReceiver (hide name, default false)