Go Back   MarcomCentral (PTI) and FusionPro User Communities > Software-Related Talk > The JavaScript Library > Barcodes

Notices

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 20th, 2009, 08:21 AM
jfox@gill-line.com jfox@gill-line.com is offline
Forum n00b
 
Join Date: Jan 2009
Posts: 4
Default Code 128 (TypeError: str has no properties)

I use a combination of two rules to make sequential barcodes,
Code:
return 999 + CurrentRecordNumber();
which I name numbering, then I make another rule:
Code:
return Make128Barcode(Rule("numbering"))
Changing out the start number and kind of barcode depending on the job.

In the past this has come off without a hitch and I have had a lot of success with it. Recently I started getting errors when using the Make128Barcode rule. The error says "/Library/Application Support/Printable/FusionPro/Builtins.js, line 1561: TypeError: str has no properties" When I use the Make128Bbarcode rule it validates and I can compose a finished document but when I test the barcode with a barcode scanner I get a "Check Character bad Fail"
All of my other barcode rules that I usually use are working just fine. I have been in contact with Customer Support from FusionPro and they have been generally prompt in answering my emails but at this point I have not gotten a solution. They have advised me to use this rule:
Code:
var UseChecksum = false; // or change to true
return '<f name="IDAutomationC128M">' + NormalizeEntities(Make128Barcode(Rule("numbering"), UseChecksum));
which produces the same result as before. They also advised me to reinstall FusionPro (I upgraded from 5.5 to 5.8) this has also not changed my results. I see no errors in my .msg files on the 128BBarcode attempts.

Does anyone else use FusionPro to make code 128 barcodes? If so, are you running into the same problems?
__________________
Justin Fox
fusion pro 5.8 on a 10.4.11 mac os with Acrobat 8.0.0 and Adobe Indesign CS2 (4.0.5.688)
Reply With Quote
  #2  
Old January 20th, 2009, 11:02 AM
jfox@gill-line.com jfox@gill-line.com is offline
Forum n00b
 
Join Date: Jan 2009
Posts: 4
Default Re: Code 128 (TypeError: str has no properties)

I have found my own solution by reverse engineering the built in 128 barcode rule

Code:
Var1= FormatNumber ("0000", 999 + CurrentRecordNumber());
Var6="IDAutomationC128M";
retstr = (Var1);
final_data = "";
final_data = '<span><f name="' + Var6 + '">' + NormalizeEntities(Make128Barcode(retstr)) + '</span>';
return final_data;
__________________
Justin Fox
fusion pro 5.8 on a 10.4.11 mac os with Acrobat 8.0.0 and Adobe Indesign CS2 (4.0.5.688)
Reply With Quote
Reply

Tags
barcode, check digit, code 128, fail, typeerror

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 03:07 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
(c) 2011, PTI Marketing Technologies™, Inc.