A.2.4. images, A.2.5. barcodes – Opticon ESL User Manual

Page 38

Advertising
background image

Opticon ESL

DEMO KIT

User Manual




38

A.2.4. Images

An image (fixed or dynamic) can be added to the template using the following format:

<Object>

<Condition>%4%</Condition>

<Image>

<File>Templates\images\G%4%.bmp</File>

<X>173</X>

<Y>33</Y>

</Image>

</Object>

<Condition>

(optional) Displaying conditions

<File>

Image file path (absolute or relative to working directory)

<X> <Y>

Coordinates of the upper-left corner of the image

A.2.5. Barcodes

Almost any type of barcode can be added to the template using the following format:

<Object>

<Condition>%4%</Condition>

<Barcode>

<Content>%4%</Content>

<Color>0</Color>

<Type>5</Type>

<X>50</X>

<Y>80</Y>

<Width>100</Width>

<Height>20</Height>

<HAlignment>CENTER</HAlignment>

<VAlignment>BOTTOM</VAlignment>

</Barcode>

</Object>

<Condition>

(optional) Displaying conditions

<Content>

Content of the barcode

<Color>

Foreground Color (0=Black; 1=White)

<Type>

Specifies the bar code type (See list below)

<X> <Y> <Width> <Height> Specify the rectangle within the barcode is rendered

<HAlignment>

Horizontal alignment (LEFT, CENTER or RIGHT)

<VAlignment>

Vertical alignment (TOP, BOTTOM)


The barcode type can be one of the following values:

1. UPC-A
2. UPC-E
3. UPC 2 Addon/supplemental chars
4. UPC 5 Addon/supplemental chars
5. EAN-13

Advertising