Microsoft Office Forums

Go Back   Microsoft Office Forums > Microsoft Word > Mail Merge

LinkBack Thread Tools Display Modes
Old 05-31-2017, 08:36 PM
DAWO DAWO is offline Windows 10 Office 2016
Join Date: May 2017
Posts: 1
DAWO is on a distinguished road
Default Field arguments and switches for MERGEBARCODE


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:
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.
Reply With Quote

qr-codes merge fields

Thread Tools
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Appendix field switches LadyBug679 Word 10 11-05-2015 03:39 PM
Pass Arguments to Function Through Ribbon inagalaxyfarfarawry Word VBA 8 03-15-2015 04:01 PM
How to Pass Arguments in a Formula? tinfanide Excel Programming 2 10-13-2014 06:10 AM
Switches ilovemypuppy Word 2 02-08-2012 04:28 PM
Index switches cksm4 Word VBA 2 02-03-2011 07:21 AM

All times are GMT -7. The time now is 11:50 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc. is not affiliated with Microsoft