Barcodes

 

The barcode tool in the Visual Toolbox does what you sort of expect it to do from the name:  generates barcodes, those machine readable symbols, from text values. 

I'll go ahead and populate this with some random stuff, just so we can take a look. The controls to configure are sort of self-explanatory: set the barcode color, set the text color (if you're going to include text) and the background color, and then set width, height barcode font size, text, font size. 

And let's just take a look at that before we look at the barcode standards themselves. So that's all configured. There's my bar code value, color font, all that other stuff set. We decided to set this up with a quick preview and revise approach, because it's not always predictable. 

There are multiple barcode standards in the world. This tool provides current support for two of them: Code 39 and code 128. We implemented both the basic code 39 extended extended plus text. And then the code 128 extended and text as well.The barcode image will be centered vertically, if there's no text value or if there's a text value, we'll adjust on the fly and recenter so that you can fiddle with the design until it looks the way you want it to look for your particular use case. 

Now let's look at something a little more interesting and probably more likely to be used in the long run by design. The URLs from that barcode tool are parameterized and you can feed data into these on the fly.

For example, if you're sending out retail coupons, one, one per customer, you could generate coupon code values, merge them into the URL, put the customer's name on it in the text field, and you'd get the resulting barcode. 

So I'll walk through those parameters right quick wit and Heights, kind of self-explanatory barcode size, text size. And in my barcode value, my barcode text value B equals blah, blah, blah, blah, blah. There. S is my actual text underneath. And then finally, sorry. T is my text underneath S is actually the style choice a, B, C, D E in the order that you saw in the bar code tool. So setting up a few, configuring them and looking at the results, it's going to be top to bottom a, B, C, D E in that merge field value. So you can generate a barcode, design it once and then deliver different values by merging or by machine generating or by whatever data source that you've got to generate different images on the fly. And that will, that will be composited into an image and delivered back to the email client on the fly as well. 

So we'll, for example, set this up and actually call it from a browser and get, get the barcode result. I hope you found that helpful. We would love feedback on the tool. We've been considering other kinds of visual codes, but we need to know what you're after send your suggestions and requests to help@campaigngenius.com. Thanks.