Jump to content

128 Barcode issue, old rule not working in FP VDP 9.2.26


Recommended Posts

Hi, would love some help with this one.

 

I've updated my Mavericks Mac to FP VDP 9.2.26 now my barcode 128 rule is giving me an incorrect output.

 

The JS code that worked in earlier versions was:

 

return Make128Barcode (Field("formid"));

 

I've tried the two preloaded rules for 128 and still get non-working results. I've attached the template and other files, nothing real special here.

 

All help is appreciated, let me know what I've overlooked.

PTI.zip

Link to comment
Share on other sites

Thanks for the information, Dale. I've identified the cause of the problem, and it will be fixed in an upcoming release.

 

In the meantime, you can work around the problem in your 9.2 installation by editing the Builtins.js file at "/Library/Application Support/PTI/FusionPro". Please back up the Builtins.js file before modifying it! Open the file in any editor, such as TextEdit, and search for "ConvertWindowsEncodingToNative". There should be two instances of this string in the file. All you need to do is remove these strings, leaving the rest of the line intact. So there's a line like this in the file:

return ConvertWindowsEncodingToNative(Make128BarcodeBase_Result);

That should be changed to this:

return (Make128BarcodeBase_Result);

And there's a second instance for 2 of 5 barcodes like this:

return ConvertWindowsEncodingToNative(barcode);

Which should be changed to this:

return (barcode);

Then save the file. This should fix the problem.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...