A.2. editing the image layout template, Editing the image layout template – Opticon ESL User Manual

Page 34

Advertising
background image

Opticon ESL

DEMO KIT

User Manual




34

For example, if the CSV-file has the following field sequence:

<Modification code>;<Barcode>;<Unique ID>;<Price>;<Description>;etc. etc.

The lines should be changed to:

<ImageFile>%2%.bmp</ImageFile>

and

<

Note>%4%</Note>

A.2.

Editing the Image layout template


The image layout template is also XML-based and can be manually edited to design your
own label layout.

The default location of the image template is "./Templates/Image.xml".

The image template currently supports 5 types of objects that can be added to design the
ESL layout:

Text (fixed and dynamic)

Lines

Rectangles (filled)

Images (monochrome; fixed and dynamic)

Barcodes


These objects should be added to the template file using the following formatting:

<?xml version="1.0" encoding="utf-8"?>
<EslLayoutInfo>
<EslTemplate>

<Variant>H</Variant>

<Width>200</Width>

<Height>96</Height>

<Object>

<Text>

</Text>

</Object>

<Object>

<Rectangle>

</Rectangle>

</Object>

<Object>

<Image>

</Image>

</Object>

<Object>

<Line>

</Line>

</Object>

<Object>

<Barcode>

</Barcode>

</Object>

</EslTemplate>
</EslLayoutInfo>

Advertising