qrCode

Print a QR Code.

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

Params

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

Options

levelLLow 7% of codewords can be restored.
MMedium 15% of codewords can be restored.
QQuartile 25% of codewords can be restored.
HHigh 30% of codewords can be restored.