Best way to create Multiple BarCodes with Macro PDF417

Hi,

I am currently evaluating BarCode Components for our new project. What is the best way to build a multiple bitmaps BarCode with the BarCodeBuilder? For now, I am not able to create a real Macro PDF417 Format BarCode. If the CodeText string is too long the component don't like that. Someone have a fonctional code example?

Thanks a lot

Hi Hawouax,

Thanks for your post!

Could you mind providing more details about your application? I am not very clear about "build a multiple bitmaps barcode". And could you please also send me the sample code and the codetext that exceed the range of the component? You can send to guangzhou#aspose.com.

Thanks

Hi Dean,

What I have to do is pretty simple. I have to encode (in Macro PDF417 format) a very long string. That string could contains many tax return in EDI format, so it can be very long... Finally, I have to print those encoded BarCode images.

Actually, I'm not able to create any macro Pdf417 barcodes.

Here is my code sample:

BarCodeBuilder myPDF417 = new BarCodeBuilder();

myPDF417.BackColor = Color.White;

myPDF417.ForeColor = Color.Black;

myPDF417.SymbologyType = Symbology.MacroPdf417;

myPDF417.Pdf417CompactionMode = Pdf417CompactionMode.Binary;

myPDF417.MacroPdf417FileID = 123;

myPDF417.Columns = 13;

myPDF417.Rows = 69;

myPDF417.AspectRatio = 0.5f;

//Error correction level

myPDF417.Pdf417ErrorLevel = Pdf417ErrorLevel.Level5;

myPDF417.ImageHeight = 600;

myPDF417.ImageWidth = 600;

myPDF417.CodeText = "Ceci est un test PDF417 Aspose - segment 1 - ligne 1 \n" +

"Ceci est un test PDF417 Aspose - segment 1 - ligne 2 \n" +

"Ceci est un test PDF417 Aspose - segment 1 - ligne 3 \n" +

"Ceci est un test PDF417 Aspose - segment 1 - ligne 4 \n" +

"Ceci est un test PDF417 Aspose - segment 1 - ligne 5 \n" +

"Ceci est un test PDF417 Aspose - segment 1 - ligne 6 \n" +

"Ceci est un test PDF417 Aspose - segment 1 - ligne 8 \n" +

"Ceci est un test PDF417 Aspose - segment 1 - ligne 9 \n" +

"Ceci est un test PDF417 Aspose - segment 1 - ligne 10 \n" +

"Ceci est un test PDF417 Aspose - segment 1 - ligne 11 \n" +

"Ceci est un test PDF417 Aspose - segment 1 - ligne 12 \n" +

"Ceci est un test PDF417 Aspose - segment 1 - ligne 13 \n" +

"Ceci est un test PDF417 Aspose - segment 1 - ligne 14 \n" +

"Ceci est un test PDF417 Aspose - segment 1 - ligne 15 \n" +

"Ceci est un test PDF417 Aspose - segment 1 - ligne 16 \n" +

"Ceci est un test PDF417 Aspose - segment 1 - ligne 17 \n" +

"Ceci est un test PDF417 Aspose - segment 1 - ligne 18 \n" +

"Ceci est un test PDF417 Aspose - segment 1 - ligne 19 \n" +

"Ceci est un test PDF417 Aspose - segment 1 - ligne 20 \n" +

"Ceci est un test PDF417 Aspose - segment 1 - ligne 21 \n" +

"Ceci est un test PDF417 Aspose - segment 1 - ligne 22 \n" +

"Ceci est un test PDF417 Aspose - segment 1 - ligne 23 \n" +

"Ceci est un test PDF417 Aspose - segment 1 - ligne 24 \n" +

"Ceci est un test PDF417 Aspose - segment 1 - ligne 25 \n";

myPDF417.MacroPdf417SegmentID = 0;

myPDF417.MacroPdf417LastSegment = false;

myPDF417.Save("C:\\TestBarCodeAsposeManualPart0.bmp");

myPDF417.MacroPdf417SegmentID = 1;

myPDF417.MacroPdf417LastSegment = true;

myPDF417.Save("C:\\TestBarCodeAsposeManualPart1.bmp");

Thanks

Hi Hawouax,

We are following up this issue and will back to you ASAP, thanks.

Any News ?

Thanks