Monday, December 17, 2018

Discovered MS Word's DISPLAYBARCODE ability

Today I discovered that Word has the ability to display and print barcodes in a document. Yes!

All you have to do is to create a field with Ctrl+F9 and type

DISPLAYBARCODE "BarcodeData1234" CODE128 \t

If you want a smaller code, you can give a height parameter in "twips" 1/1440ths of an inch.


DISPLAYBARCODE "BarcodeData1234" CODE128 \t \h 720

Hit Alt+F9 to toggle the field codes display between barcode and field text.

Beautiful!!


A list of parameters:

https://msdn.microsoft.com/en-us/library/hh745901(v=office.12).aspx


And you can do all the following barcodes:

UPCA|UPCE|JAN13|JAN8|EAN13|EAN8|CASE|ITF14|NW7|CODE39|CODE128|JPPOST|QR



https://hubpages.com/technology/Mail-Mergeable-Barcodes-in-Microsoft-Word-2013-aka-Bar-Codes

No comments:

Post a Comment