Hi,
I have successfully managed to print QR-code labels using Word's mail merge feature together with the field code MERGEBARCODE. I have tried to find more information about the field-arguments for this field code, and have found
this article at MSDN. I now wonder about some of the field switches and how to properly write them.
\h and \s What is the difference between those two when I am using MERGEBARCODE for QR-code printing? Does not the \h switch also scale the QR-code proportionally?
\q as I read the docuementation for this switch, I understand it to accept values between 0 and 3. But what will a \q value of 0 result in? And the difference between 1, 2 and 3? As this is the level of error correction, I guess that a higher level of error correction decreases the amount of data that I can store in the QR-code? Oddly Microsoft has used integer 4 as the highest value for error correction in an example further down the page.
"[Example: The following field uses the data in URL to generate a QR Code with highest error correction level:
MERGEBARCODE URL QR \q 4
end example]"
So in the description for the Field Switch, it is stated that "Valid values are [0,3], but in the example above they are using 4!
In my specific situation I would like to store a string like this one (592ed4559463df16f9132396) consisting of 24 characters in my QR-code. At the same time I would like to have the highest level of error correction. Is this possible, would the following be correct: { MERGEBARCODE myDataField \q 3 \s 80 }
I am guessing that 3 after \q will result in the highest error correction level, and that 80 will result in a scaling of 80% of the original QR-code size.