beautypg.com

Opticon ESL User Manual

Page 35

background image

Opticon ESL

DEMO KIT

User Manual




35

The image will be generated by parsing the template from top to bottom, so if one object
needs to be drawn on top of another, then this can be done by changing the sequence of
the objects in the image template.

The ‘Variant’ field specifies the hardware variant of the ESL of each template. Multiple templates can be
added if more than one hardware variant is used.


The dynamic content of texts, barcodes and images can be inserted to your template from
the CSV-database. To add a certain field from a CSV-record to your image, add the field
number between two „%‟-characters in the content field of the object.

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

;;;;;;;etc. etc.


Then the price field would be added by using %3%, since it is field number 3 (starting from
0).
It‟s also allowed to combine multiple fields as dynamic content.

Example (to add the weight plus standard unit):

Weight: %5% %6%


Special characters can be added using the standard XML notation, so for instance an Euro
sign can be added using:

(since its Unicode is U+20AC)


Any type of object can be added to the template conditionally if needed, meaning that it is
only shown in the resulting image if a certain field in a CSV-record contains a value or
equals a certain value.

This is can be done by adding one of the following lines to any type of object.


%x%



%x%=y


The following chapters will describe the 5 object types in more detail.