beautypg.com

Appendix a: editing the esl template files, A.1. editing the information template, Editing the information template – Opticon ESL User Manual

Page 33

background image

Opticon ESL

DEMO KIT

User Manual




33

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)


Note: In the near future a graphical user interface will be added to the ESL system that will
allow you to design the image layout more easily and with more features.

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 of each ESL, being the Unique ID, 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 will have the following content:




%1%.bmp
0
0


0
0
0

%3%


Only two fields of this template may have to be changed, which depend on the field
sequence of your CSV-database. The fields that need to be correct are:

Needs to contain the field number of the Unique ID

Needs to contain the field number of the product description.


The field number is specified betwee

n the „%‟ „%‟ inside these lines. Note that the first field

has field number „0‟.