Quick Start Guide

It’s also possible to create Matchings with ESL Client under Labels and Articles, for this just select the
desired article or label, right-click on it and select “New matching” (the new matching dialog will be
pre-filled with the article or label information).
The template is used to specify the fields, which should be rendered into the image. The ESL Server
can handle multiple templates.
The image rendering process is based on XSL (EXtensible Stylesheet Language) templates. The
individual image for the label is then generated by applying the template to a XML, which is based on
the properties of the label and is expanded by a custom XML from the user.
The following steps are executed when processing a template:
- Generating a record XML based on the label/task information and custom information provided
by the user
- Applying the template (XSL) on the generated record XML. This results in a document containing
the fields, specified in this reference and values referenced from the XML
- Rendering the image (*.PNG) based on the previous output
...
<!-- Name-->
<text font-weight="bold" font-size="14">
<xsl:value-of select="Article/Name"/>
</text>
...
<!-- Price -->
<text align="right" font-size="60">
<xsl:value-of select="Article/Price"/>
</text>
...
<Article articleNumber="9002490100070">
<Name>Red Bull<Name/>
<Description>Dose 250 ml</Description>
<Unit>1 l</Unit>
<Price>1.39</Price>
<PricePerUnit>5.56</PricePerUnit>
</Article>
Template
Article (XML document)
Rendered Image
+ =
Figure 32: Input and result of the rendering process
In order to use our rendering engine you must know our template language which is basically XSL.
We do also have a template editor with live preview, but you need a little bit time to setup
everything and get familiar with it. Therefore we suggest to send pre-rendered images to labels
(right-click on a label -> send image) which you can create with every image manipulation software
you want (e.g. Gimp, Photoshop, Paint, …). You can even take some pre-rendered images from us for
each label type with the correct resolution as a template you’ll find some in the client’s directory
under data/images.
6.5.2.1 Open default template-file and load records from server:
Open the Template Editor by clicking the “template.jar” file located in the template-directory
(In our example it should be C:\imagotag\teamplate\).
Next step is to create a new template file or to open an existing one (The default.xsl template
file is located in the server-directory under C:\imagotag\server\data\template\).