Go Back   PTI Marketing Technologies User Community > Software-Related Talk > The JavaScript Library > Barcodes

Notices

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old March 19th, 2017, 12:38 PM
Naval Naval is offline
Junior Community Member
 
Join Date: Oct 2015
Location: New Zealand
Posts: 29
Default 128 Barcode

Hi All,
I use fusion pro for EFI Digital Storefront to build templates for my customers. I have a customer who wants 128 bar code generated from DSF. The Code is WBD00005001 and on wards. Can any one please help me on how do i get FP to generate 128 bar code and also the serial number. I have attached a PDF of what i am working with. Any help will be much appreciated.

Naval
Attached Files
File Type: pdf Bin Delivery Label.pdf (13.7 KB, 9 views)
Reply With Quote
  #2  
Old March 20th, 2017, 11:13 AM
Dan Korn's Avatar
Dan Korn Dan Korn is offline
FusionPro Senior Engineer / Forum Moderator
 
Join Date: Aug 2008
Location: Chicago, IL
Posts: 4,104
Default Re: 128 Barcode

Quote:
Originally Posted by Naval View Post
The Code is WBD00005001 and on wards. Can any one please help me on how do i get FP to generate 128 bar code
This sounds like a ticket-type job, where you would have a data source of "None" and set the record range on the Input tab of the Composition Settings dialog. Then you could make a rule like so:
Code:
var data = "WBD" + FormatNumber("00000000", 5000 + FusionPro.Composition.inputRecordNumber);
return'<span><f name="IDAutomationC128L">' + Make128Barcode(data) + '</span><br>' + data;
And insert that rule's name into a text frame.
Quote:
Originally Posted by Naval View Post
and also the serial number.
Sorry, I don't know what you mean by a serial number.
__________________
Dan Korn
FusionPro Developer / JavaScript Guru / Forum Moderator
PTI Marketing Technologies | Printable | MarcomCentral
LinkedIn

I am a not a Support engineer, and this forum is not a substitute for Support. My participation on this forum is primarily as a fellow user (and a forum moderator). I am happy to provide help and answers to questions when I can; however, there is no guarantee that I, or anyone else on this forum, will be able to answer all questions or fix any problems. If I ask for files to clarify an issue, I might not be able to look at them personally. I am not able to answer private messages, emails, or phone calls unless they go through proper Support channels. Please direct any sales or pricing questions to your salesperson or inquiries@pti.com.

Complex template-building questions, as well as all installation and font questions or problems, should be directed to FusionProSupport@PTI.com. Paid consulting work may be required to fulfill your template-building needs. Please do not post proprietary font files to this forum.

Please include the specific versions of FusionPro, Acrobat, and your operating system in any problem reports or help requests. I recommend putting this information in your forum signature. Please also check your composition log (.msg) file for relevant error or warning messages.

Please post questions specific to the MarcomCentral Enterprise and Web-to-Print applications in the MarcomCentral forum. Click here to request access. Or contact your Business Relationship Manager (BRM/CPM) for assistance.

Please direct any questions specific to EFI's Digital StoreFront (DSF) to EFI support.

How To Ask Questions The Smart Way

The correct spellings are JavaScript, FusionPro, and MarcomCentral (each with two capital letters and no spaces). Acceptable abbreviations are JS, FP, and MC (or MCC). There is no "S" at the end of "Expression" or "Printable"! The name of the product is FusionPro, not "Fusion". "Java" is not is not the same as JavaScript.

Check out the JavaScript Guide and JavaScript Reference! FusionPro 8.0 and newer use JavaScript 1.7. Older versions use JavaScript 1.5.

return "KbwbTdsjqu!spdlt\"".replace(/./g,function(w){return String.fromCharCode(w.charCodeAt()-1)});
Reply With Quote
  #3  
Old March 20th, 2017, 06:38 PM
Naval Naval is offline
Junior Community Member
 
Join Date: Oct 2015
Location: New Zealand
Posts: 29
Default Re: 128 Barcode

Hi Dan,
Thanks for that. For some reason it is not generating a barcode for me. I have attached what i have done so far. I am trying to upload this to EFi DSF for customers to order as well and trying to compose it is fusion pro but it is not generating barcodes.

Do you know what could be causing this.

Look forward to hearing from you.

Thanks
Attached Files
File Type: txt Data.txt (28 Bytes, 4 views)
File Type: zip WBD Label.zip (4.51 MB, 3 views)
File Type: pdf WBD Label.pdf (57.1 KB, 7 views)
Reply With Quote
  #4  
Old March 21st, 2017, 06:14 AM
Leosmith Leosmith is offline
Junior Community Member
 
Join Date: Jun 2015
Location: Saint Paul
Posts: 39
Default Re: 128 Barcode

Hi Naval,
The code provided did create a barcode for me.
You need to put it in a rule and then place the rule in a FusionPro text box.
I've attached an example. A data file isn't needed because the rule is creating a sequenced number.
Attached Files
File Type: zip WBD Label FP.zip (3.34 MB, 8 views)
__________________
Leo Smith - Novice
FusionPro VDP Creator 9.3.21
Adobe Pro CC
Windows 7
Reply With Quote
  #5  
Old March 22nd, 2017, 11:47 AM
Naval Naval is offline
Junior Community Member
 
Join Date: Oct 2015
Location: New Zealand
Posts: 29
Default Re: 128 Barcode

Thanks Dan & Leo,

I have got that to go now. Do you guys know how i would incorporate this with EFI Digital Storefront? As it needs a data source for me to be able to upload this on DSF. Any ideas?
Reply With Quote
  #6  
Old March 27th, 2017, 12:28 PM
Naval Naval is offline
Junior Community Member
 
Join Date: Oct 2015
Location: New Zealand
Posts: 29
Default Re: 128 Barcode

Hi i am trying to produce 5000 bar codes but i keep getting:
Incomplete entity definition ă╬
Incomplete entity definition ă╬
Unknown Entity &ă╬ in record 6

It is not only record 6 but there are other records with same issue
Would you know what could be causing this?

Thanks in advance.

Naval
Reply With Quote
  #7  
Old March 27th, 2017, 04:15 PM
Dan Korn's Avatar
Dan Korn Dan Korn is offline
FusionPro Senior Engineer / Forum Moderator
 
Join Date: Aug 2008
Location: Chicago, IL
Posts: 4,104
Default Re: 128 Barcode

Quote:
Originally Posted by Naval View Post
Hi i am trying to produce 5000 bar codes but i keep getting:
Incomplete entity definition ă╬
Incomplete entity definition ă╬
Unknown Entity &ă╬ in record 6

It is not only record 6 but there are other records with same issue
Would you know what could be causing this?
You need to convert the raw barcode data to tagged markup, with the TaggedTextFromRaw function, like so:
Code:
return'<span><f name="IDAutomationC128L">' + TaggedTextFromRaw(Make128Barcode(data)) + '</span><br>' + data;
__________________
Dan Korn
FusionPro Developer / JavaScript Guru / Forum Moderator
PTI Marketing Technologies | Printable | MarcomCentral
LinkedIn

I am a not a Support engineer, and this forum is not a substitute for Support. My participation on this forum is primarily as a fellow user (and a forum moderator). I am happy to provide help and answers to questions when I can; however, there is no guarantee that I, or anyone else on this forum, will be able to answer all questions or fix any problems. If I ask for files to clarify an issue, I might not be able to look at them personally. I am not able to answer private messages, emails, or phone calls unless they go through proper Support channels. Please direct any sales or pricing questions to your salesperson or inquiries@pti.com.

Complex template-building questions, as well as all installation and font questions or problems, should be directed to FusionProSupport@PTI.com. Paid consulting work may be required to fulfill your template-building needs. Please do not post proprietary font files to this forum.

Please include the specific versions of FusionPro, Acrobat, and your operating system in any problem reports or help requests. I recommend putting this information in your forum signature. Please also check your composition log (.msg) file for relevant error or warning messages.

Please post questions specific to the MarcomCentral Enterprise and Web-to-Print applications in the MarcomCentral forum. Click here to request access. Or contact your Business Relationship Manager (BRM/CPM) for assistance.

Please direct any questions specific to EFI's Digital StoreFront (DSF) to EFI support.

How To Ask Questions The Smart Way

The correct spellings are JavaScript, FusionPro, and MarcomCentral (each with two capital letters and no spaces). Acceptable abbreviations are JS, FP, and MC (or MCC). There is no "S" at the end of "Expression" or "Printable"! The name of the product is FusionPro, not "Fusion". "Java" is not is not the same as JavaScript.

Check out the JavaScript Guide and JavaScript Reference! FusionPro 8.0 and newer use JavaScript 1.7. Older versions use JavaScript 1.5.

return "KbwbTdsjqu!spdlt\"".replace(/./g,function(w){return String.fromCharCode(w.charCodeAt()-1)});
Reply With Quote
Reply

Tags
128 barcode, barcode

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 06:54 AM.


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