barCode

Print a bar code.

1
{{$barCode [value]}}
Example
format JSON XML
Data JSON
1
2
3
4
5
{
"Product": {
"code": "Hello World"
}
}
HTML
1
{{$barCode Product.code width="200px"}}
Result
Data XML
1
2
<Product code="Hello World">
</Product>
HTML
1
{{$barCode Product._code width="200px"}}
Result

Params

1
2
3
4
5
6
7
8
{{barCode
"string value"
format="CODE39"
background="#fff"
foreground="#000"
width="100%"
height="auto"
}}

Options

formatCODE39
CODE128
EAN13
EAN8