Christian Johnson Posted April 15, 2020 Posted April 15, 2020 Is there a way to create a rule that would place a PDF417 barcode in FusionPro? Do I need to use a certain font, program, etc.? I have a data file with barcode data but need help generating the actual barcode. Quote
Dan Korn Posted April 15, 2020 Posted April 15, 2020 Yes, there is a MakePDF417Barcode function, which you can call like so: return MakePDF417Barcode(Field("barcode data")); There are additional optional parameters to control various aspects of the barcode. You can also use the PDF417Barcode object, and optionally set its various properties: var barcode = new PDF417Barcode; barcode.pointSize = 12; return barcode.Make(Field("barcode data")); Either way, the font is automatically set to the IDAutomationPDF417n3 font, which is installed with FusionPro. Quote
Christian Johnson Posted April 15, 2020 Author Posted April 15, 2020 When I make a rule with either code, I get the same result. I've attached 2 screenshots. One of the preview selector to show the codes number and the other to show what previews shows me. What am I doing wrong? Quote
Dan Korn Posted April 16, 2020 Posted April 16, 2020 When I make a rule with either code, I get the same result. I've attached 2 screenshots. One of the preview selector to show the codes number and the other to show what previews shows me. What am I doing wrong? That looks like a problem with the font not appearing correctly in Preview. Try a full composition and view the PDF; that should look correct. In FusionPro 11, there's an "Embed Fonts For Preview" box you can check on the Preferences dialog which usually makes this work in Preview. In FusionPro 10, you'll have to manually edit the file "/Library/Preferences/PTI/FusionPro/FusionPro Preferences" and add a line "EmbedFontsForPreview=true" under [settings]. Quote
Christian Johnson Posted May 14, 2020 Author Posted May 14, 2020 Hi Dan, Luckily I do have both versions on FusionPro and that worked perfectly on FusionPro 11. Thank you so much. Quote
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.