Hi,
I want to use crystal report for this .
I think this is the best method.
thanks
Hemant
"Mark Rae [MVP]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> "Hemant" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>
> [please don't top-post]
>
>>>> I want to print address on Avery 5160 label from my asp.net 2005 web
>>>> site.
>>>> How to do this ?
>>>
>>> I would strongly suggest that you don't try to "reinvent the wheel"
>>> here...
>>>
>>> Avery provide Word templates for all of their labels, including the
>>> 5160.
>>>
>>> However, you can't use Office Automation with ASP.NET
>>> (http://support.microsoft.com/default...US;q257757#kb2),
>>> so you'll need this:
>>> http://www.aspose.com/categories/.ne...t/default.aspx
>>>
>>> If you are expecting to print to a network printer which is visible to
>>> the webserver, it's a fairly trivial matter to instantiate the Aspose
>>> object, open the Avery Word template, attach your datasource and send
>>> the resulting mailmerge page(s) to the network printer.
>>>
>>> However, if you are expecting to print to a local printer which is
>>> visible (i.e. connected) to the client machine, I would suggest that you
>>> save the resulting mailmerge page(s) to a PDF and stream that to the
>>> client browser, thereby allowing the local user to do the printing.
>>> Don't even try to get ASP.NET to print to a local client-side printer...
>>>
>>> I appreciate that Aspose isn't free, but neither (I'm assuming) is your
>>> time...
>
>> Thanks for your reply.
>> Can I use System.Drawing.Printing for this ?
>
> Did you actually read my reply...?
>
> I was specifically advising you *NOT* to waste time reinventing the
> wheel...
>
>
> --
> Mark Rae
> ASP.NET MVP
> http://www.markrae.net