Overview
The QR Code symbology is 2D matrix-style barcode. It can encode full 256 character extended-ASCII.
Variants
HIBC QR Code is a variant that should be used when encoding HIBC formatted data.
Invoking
- The data field can contain any extended ASCII data.
- When the parse option is specified, any instances of ^NNN in the data field are replaced with their equivalent ASCII value, useful for specifying unprintable characters.
- The eclevel option is used to specify the error correction level:
- eclevel=L - Low
- eclevel=M - Medium (default)
- eclevel=Q - Quality
- eclevel=H - High
- The version option is used to specify the size of the symbol, 1 to 40 for full format symbols or version=M1, version=M2, version=M3 or version=M4 of micro format symbols.
- If unspecified, the encoder will select the version of the symbol that is the minimum size to represent the given data.
- The format option is used to select between format=full and format=micro symbol types. By default, full format symbols will be generated.
- The raw option denotes that the data field is providing the input as a pre-encoded bitstream suitable for direct low-level encoding.
- Note: Micro format symbols require that the data be supplied using the raw option.
Examples
0 0 moveto (QR Code) () /qrcode /uk.co.terryburton.bwipp findresource exec
0 0 moveto (QR ^067ode) (parse) /qrcode /uk.co.terryburton.bwipp findresource exec
0 0 moveto (QR CODE 1234) (version=10 eclevel=Q) /qrcode /uk.co.terryburton.bwipp findresource exec
0 0 moveto (000100000010000000001100010101100110000110000) (raw) /qrcode /uk.co.terryburton.bwipp findresource exec
0 0 moveto (0010000000000110001010110011010100110111000010100111010100101) (format=micro raw) /qrcode /uk.co.terryburton.bwipp findresource exec