36
ESL User Manual
9. Appendices
Appendix A: Editing the ESL Template Files
The ESL template files are XML-based and can be manually edited to design your own label
layout.
The ESL server application uses two templates.
•
An image template that specifies the actual image layout of the images that will be generated
•
An information template that is used to generate XML-files that provide the ESL server
application with all the necessary information about the linked ESL and product (
Unique ID
,
MAC address,
and
description
)
A.1 Editing the Information Template
As mentioned above, the information template is used to provide the ESL server application
with all the required information for each ESL: the
Unique ID
; the
MAC address
; and a
description of the linked product.
Note: The “description” will be shown in the
data
tab of the ESL server application.
The default location of the information template is
./Templates/Info.xml
.
This template consists of the following:
<?xml version="1.0" encoding="utf-8"?>
<EslImageInfo>
<Label></Label>
<ImageFile>%1%.bmp</ImageFile>
<X>0</X>
<Y>0</Y>
<Width></Width>
<Height></Height>
<HOffset>0</HOffset>
<VOffset>0</VOffset>
<Ix>0</Ix>
<Variant></Variant>
<Note>%3%</Note>
</EslImageInfo>
Only two fields of this template may have to be changed, depending on the field sequence of
your CSV database. The fields which may need to be corrected are:
•
<ImageFile>:
Needs to contain the field number of the
Unique ID
•
<Note>:
Needs to contain the field number of the product description
The field number is specified between the
“%”
symbols. Note that the first field in the sequence
is assigned field number
“0.”