Create a report with Aspose.Word and Aspose.Barcode

May I create a report embedding the barcodes generated by Aspose.Barcode with Aspose.Word?

The report should contain 24 different labes for each sheet in each label I have to add some fileds in clear like Product ID (ASD4556600) and store ID (New York)

Thank you.

Regards.

Luciano

Hi Luciano,

Thank you for contacting support. Aspose.BarCode APIs allows developers to quickly and easily add barcode generation and recognition functionality to applications. Based on your query, it generates barcode and save it in the image file format. Similarly, it takes image file formats for recognition purposes. It supports all well known image formats. However, you can use Aspose.Words APIs to insert or retrieve barcode pictures anywhere on/from the document. Please refer to the following help topics: How to Integrate Aspose.BarCode for .NET with Aspose.Words , Recognize Barcode from Word Document , How to Extract Images from a Document , Generate Multiple Barcodes on a Single Image

We hope, this helps. Please feel free to reply us in case of any confusion or questions.

Hi Imran, I gave a look to the examples and they are OK for insert one or more barcode in a word document, but I didn’t get how to insert the barcode when using mail merge with word document containing 24 labels (4 x row x 6 rows) for sheet and each label has a different barcode and data coming from database. Can you please send an example or link where is explained how to do it.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thank you.

Regards.

Luciano

Hi Luciano,

You can use mail merge with regions and insert any number of images during mail merge using the image merge fields. Please check Prepare a Document and Mail Merge with Regions for more details.

Best Regards,

Hi Muhammad, when I prepare the WORD document how should I declare the filed that will be displayed as barcode? (barcode or Image)

Moreover, if I will declare the filed product code as barcode type does the Aspose.Word converts the numeric code in a barcode image?

Thank you for helping me.

My best regards.

Luciano

Hi Luciano,

You can start the name of your merge field with Image: to use it as an image field e.g. the name of your merge field will be Image:FieldName. If you want to insert a DISPLAYBARCODE field in your document using Aspose.Words, you can use the code from http://www.aspose.com/docs/display/wordsnet/How+to+Generate+a+Custom+BarCode+Image+for+DISPLAYBARCODE+Field

Best Regards,

Hi Muhammad, thanks to you now I have all information to make a try.

Thank you.

Regards.

Luciano