Versions Compared

Key

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

(TP52685 / 2023.XXXX)3701)

Purpose

To print value cards with custom design.

Use an image with 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, you need to create

  1. Create new or edit exiting value card

...

  1. report

...

  1. valuecard

  2. Select the template “valuecard_custombackground_thirdOfPage.jasper

  3. valuecard_custombackground_halfOfPage.jasper

  4. valuecard_custombackground_fullPage.jaspersecond .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

...

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)

  • showTerms (show terms, default ? - and where do you configure this?)

  • showFacility (show the facility of the value card, default ?)

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

  • showReportdescription (report description, default ?, write something about where this text is configured)

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

...

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

  • showValidUntilLabel - (show the label for the expiration date field, default false)

  • hidePrice (hide amount, default false)

  • hideReceiver (hide name, default false)