37
ESL User Manual
For example, if the CSV file has the following field sequence:
<Modification code>;<Barcode>;<Unique ID>;<Price>;<Description>;
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 for designing 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>