On Aug 30, 2007, at 8:40 AM, Lisa Brooks wrote:
I am trying to create a barcode for a pre-sorted mailing using the
font
provided in FusionPro (IDAutomationState4) but the resulting
barcode is only
six or seven characters long - not the over 50 it should be. I
have a field
in my flat file that provides me with the barcode information. I
tried
inserting this field and applying the font and that didn't work. I
tried
creating the barcode rule in FusionPro using the Zip Code field and
then the
barcode field and that didn't work either. Can anyone tell me what
I might
be doing wrong or leaving out?
Depends on how the data is formated in your barcode field. To use
this font, all the data should be a string of '2','1','3', and '0' .
You may find that instead the data may be formated as 'D','A','T' and
'F'. If this is the case, you will need to write a rule to switch
the characters, for example:
var onecode = "FATD"; //Replace "FATD" with Field
("YourOneCode")
onecode = onecode.replace(/F/g,"0"); // replaces all F with 0
onecode = onecode.replace(/A/g,"1"); // replaces all A with 1
onecode = onecode.replace(/T/g,"3"); // replaces all T with 3
onecode = onecode.replace(/D/g,"2"); // replaces all D with 2
return onecode;
On the other hand, if you are building the barcode from raw data,
like routing codes, sequence numbers, you will want to use the
OneCodeBarcode Javascript function from FusionPro to format the data
to make the barcode. Then apply the font.
HTH, Brian Ray
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
Calling all FP Web Users!
Do you have a question or lots of knowledge to share about FusionPro Web?
If so, join our Printable Web to Print Users' Forum today!
Send email to [EMAIL PROTECTED] to find out how!
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
--
Users of FusionPro Desktop have unlimited free email support. Contact Printable Support at [EMAIL PROTECTED]
--
View FusionPro Knowledge Base, FusionPro Samples at
www.printable.com/vdp/desktop.htm
--
You are currently subscribed to fusionpro as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
--
--
Note: All e-mail sent to or from this address will be received or otherwise
recorded by the e-mail recipients of this forum. It is subject to archival,
monitoring or review by, and/or disclosure to someone other than the recipient.
Our privacy policy is posted on www.printplanet.com
--