We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Mailing labels

hi there

is there a sample anywhere to show how i can create an avery label template, say 5160, and mailmerge the address data along with a barcode?

i am looking to merge hundreds of address records into a word template, and would really like to have the zip code have a bar code.

please let me know.

thanks

Gavin

Hi Gavin,

Thanks for considering Aspose.

Please find the attached sample that generates Avery Label addresses with BarCodes. The attacherd solution is however based on Crystal Reports that is shipped with Visual Studio 2005. Records are being taken from AdventureWorks sample database.

Your original question was about generating word template. I think that is also possible by integrating Aspose.Words library with Aspose.BarCode. Please check out http://www.aspose.com/documentation/visual-components/aspose.barcode-for-.net-and-java/how-to-integrate-aspose-barcode-for-net-with-aspose-words.html for generating a barcode and inserting into a Word document and http://www.aspose.com/documentation/file-format-components/aspose.words-for-.net-and-java/perform-mail-merge.html for using MailMerge feature and generating word document that contains Avery Address labels.

If you are interested in Crystal Reports solution, I can tell you more details e.g. how to use SQL Server to get data and generate barcodes.

And for Word template solution, please post on Aspose.Words forum (http://www.aspose.com/community/forums/aspose.words-for-.net-java-and-reporting-services/75/showforum.aspx) regarding support in Mailing Labels with image on it.