Hello Brent,

How to Use 2D Barcodes in FusionPro using javascript rule.

Answer:

Here's a sample script:

dataForBarcode = 'Customer ID: 123456789';

dmBarcodeObj = new DataMatrixBarcode('', '', '', '', '', '');

markupData = dmBarcodeObj.Make(dataForBarcode);

return markupData;


Make sure you check the "Treat returned strings as tagged text" checkbox
in your rule.

This sample script will return a DataMatrix barcode with all the default
values including:

10pt font size
ASCII encoding
IDAutomationDMatrix font referenced
The "0" format - automatic sizing.


To override these items, you can specify the correct attribute of the
barcode object.  For example, if you wanted it to be 12pt in the BASE256
encoding, you could add these 2 lines:

dmBarcodeObj.encodingMode = "BASE256";
dmBarcodeObj.pointSize = 12;


-Alex

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, October 05, 2007 3:57 PM
To: FusionPro Users Forum
Subject: [fusionpro] Data Matrix Barcode


Has anyone ever had any experience with a Data Matrix Barcode. We have
just purchased some new equipment to read a datamatrix barcode, now we
just need to figure out how to use Fusion Pro to create the data matrix
barcode. We have purchased the font, but understand there needs to be some
sort of encoding done before it will create the barcode. Anyone have any
clues?!

Thanks!
Brent

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- 
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
--


+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
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
--

Reply via email to