background image

APPENDIX 1

Accreditation Card Customization

It is possible to customize accreditation cards for different purposes like weigh-in notes or 
diplomas. You have to create a text file that describes the wanted layout. 

Template file is composed of lines. A line starting with a hash mark is a comment, otherwise it is a 
data line. Data belongs to one of the following categories:

general settings

attributes

texts and pictures

Example:
# This is a comment

General settings

Card size is the size of the printed note in mm. As many as possible cards are fitted on one A4 
page unless overruled otherwise. 

Example:
cardsize 105 59.4

Page geometry is a better way to tell how many cards you want on one page. Printer marginals are 
taken into the considiration. The following line is the default and can be left out (2 columns, 5 
rows).
pagegeom 2 5

Background picture can be used. Only PNG files are supported. Picture is resized to the notesize. 
Example:
background C:\Pictures\MyBackground.png

Note is surrounded by a border. You can set the border line width. Line width 0 means no border. 
Example:
border 1

It is possible to print medal winners only. The following line prints gold, silver, and bronze 
medalists:
winners 1 2 3

Positions 1 – 7 are valid. Note! You must print the results with the statistics first, since that saves 
the position information to the database!

Attributes

Attribute lines describe how the text should look like. Their values are valid until replaced by 
another attribute line.

Font should be something that is supported by your system. The deafult is Arial.
font Arial

Default font size is 12:
fontsize 12

Text can be bold and/or italic:
fontweight normal