christhinkvariable.com Posted December 8, 2008 Share Posted December 8, 2008 Hi all. Does FP support 2d barcodes and if so how would I go about creating them. Thanks Quote Link to comment Share on other sites More sharing options...
chads Posted December 9, 2008 Share Posted December 9, 2008 Create a text rule with this content and then apply the rule box. Apply the IDAUTOMATIONDMATRIX font to it and you should be good to go. // Check treat strings as tagged text //Replace "CNTL" with name of Field with "" //Apply Rule as a text field and apply IDAUTOMATIONDMATRIX Font in 4pt return MakeDataMatrixBarcode (Field("CNTL"), true, "TEXT", "UIC", "4", "NoFontTag", "IDAutomationDMatrix"); Quote Link to comment Share on other sites More sharing options...
christhinkvariable.com Posted December 10, 2008 Author Share Posted December 10, 2008 What I have are two differnet data fields that need to be in the barcode. I created the rule that you sent but when i draw a text box i do not have an option to apply a rule to it. also I need this barcode to be in QR format. Any help would be appreciated. Thanks Quote Link to comment Share on other sites More sharing options...
Tony Olivas Posted December 22, 2008 Share Posted December 22, 2008 What I have are two differnet data fields that need to be in the barcode. I created the rule that you sent but when i draw a text box i do not have an option to apply a rule to it. also I need this barcode to be in QR format. Any help would be appreciated. Thanks Try this script then setup as a rule make sure you check Treat returned strings as tagged text. You can add more that one field by putting in the "+" sign. You may have to increase the point size. Quote Link to comment Share on other sites More sharing options...
Tony Olivas Posted December 22, 2008 Share Posted December 22, 2008 Try these script under Rule Editor. You will have to manipulate the field that is encoded in the 2D barcode to add more than one field. Make sure you check "Treat returned strings as tagged text" box. And of course name your rule. I used 2D barcode. Quote Link to comment Share on other sites More sharing options...
mhilger Posted December 22, 2008 Share Posted December 22, 2008 Hi Chris, FusionPro includes support for 2 types of 2D barcodes - Datamatrix and PDF417. At this time, we don't include support for the QR Code format. Creating these barcodes requires 2 components for FusionPro to output them. The first is the barcode font iteself and the second is the encoder which translates the data you want to appear into the barcode into a string of text that you then typeset with the barcode font. Every barcode (pretty much) uses a different encoder so I would not expect the DataMatrix or PDF417 encoders to produce the correct output for QR Code. There are a couple options for you if you would like to see support for the QR Code in FusionPro. The first is to purchase the font for QR Code and then write the encoder yourself (or use an off-the-shelf encoder for this barcode which you would run on your data before you bring it into FusionPro). The second option is to speak with our team about explicity adding support for this barcode in FusionPro itself. We offer services for projects such as this and have added a number of barcodes for customers over the years. Quote Link to comment Share on other sites More sharing options...
skearney Posted May 5, 2009 Share Posted May 5, 2009 Okay so what would the rule look like for a PDF417 barcode? I need to start using this type of barcode in Fusion Pro Quote Link to comment Share on other sites More sharing options...
Tony Olivas Posted May 5, 2009 Share Posted May 5, 2009 I thought I had pasted the last time I was here. Try this see if that works for you. Set it as a rule name it 2D barcode then insert it. /*dataForBarcode = Field("account_num"); dmBarcodeObj = new DataMatrixBarcode('', '', '', '', '', ''); markupData = dmBarcodeObj.Make(dataForBarcode); return markupData; */ dataForBarcode = Field("memid"); dmBarcodeObj = new DataMatrixBarcode('', '', ''); dmBarcodeObj.pointSize = 4; dmBarcodeObj.encodingMode = "BASE256"; markupData = dmBarcodeObj.Make(dataForBarcode); return markupData; Quote Link to comment Share on other sites More sharing options...
rgreenidge Posted August 18, 2009 Share Posted August 18, 2009 Hi Tony, I'm hoping you can help me out. I have to create some 2D Barcodes. I have used your script that you posted back in May and it works perfectly. However I need to format it so that the size X in each symbol will be either a matrix of 16x48 or a matrix of 18x18. Is there a spot in your script that I can enter in the format number to control the size of the Barcode. /*dataForBarcode = Field("account_num"); dmBarcodeObj = new DataMatrixBarcode('', '', '', '', '', ''); markupData = dmBarcodeObj.Make(dataForBarcode); return markupData; */ dataForBarcode = Field("memid"); dmBarcodeObj = new DataMatrixBarcode('', '', ''); dmBarcodeObj.pointSize = 4; dmBarcodeObj.encodingMode = "BASE256"; markupData = dmBarcodeObj.Make(dataForBarcode); return markupData; Thanks in advance. Thanks, Richard. Quote Link to comment Share on other sites More sharing options...
Tony Olivas Posted August 18, 2009 Share Posted August 18, 2009 rgreenidge, Yes there is a spot. Go to: dmBarcodeObj.pointSize = 4; Right now it is set to 18 x18. If you want it 16 x 48 change it to dmBarcodeObj.pointSize = 29; Also you can go to: Go to http://www.idautomation.com/datamatrixfaq.html Scroll down to the bottom under 2D Martix Barcode Formats. It shows all of the Format number and what they equal for size. I hope that helps. Quote Link to comment Share on other sites More sharing options...
rgreenidge Posted August 18, 2009 Share Posted August 18, 2009 Thanks, Tony. This is great. I appreciate the help. Richard. Quote Link to comment Share on other sites More sharing options...
LeberMac Posted November 6, 2012 Share Posted November 6, 2012 Very helpful thread. Thanks, guys! I attached a screengrab of my settings that generates the little 12x12 pixel 2D codes you'd use on match mailings for USPS mailpieces. I would typically set the variable to be the USPS Presort Sequence number (Where you see "NUMBER" in the code). Some tweaking may be necessary to get it to work with your individual system. Don't forget to use the IDAutomationDMatrix font. HTH, Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.