PC Review


Reply
Thread Tools Rate Thread

Avery 5160 label

 
 
Hemant
Guest
Posts: n/a
 
      25th Nov 2009
Hi,

I want to print address on Avery 5160 label from my asp.net 2005 web site.
How to do this ?

Thanks,
Hemant


 
Reply With Quote
 
 
 
 
Hemant
Guest
Posts: n/a
 
      25th Nov 2009
Hi,
Thanks for your reply.
Can I use System.Drawing.Printing for this ?
thaks ,

Hemant

"Mark Rae [MVP]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> "Hemant" <(E-Mail Removed)> wrote in message
> news:%23LWR%(E-Mail Removed)...
>
>> 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...
>
>
> --
> Mark Rae
> ASP.NET MVP
> http://www.markrae.net



 
Reply With Quote
 
Hemant
Guest
Posts: n/a
 
      26th Nov 2009
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



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to display format lines for Avery 5160 label Debra Microsoft Word Document Management 1 20th Feb 2009 07:39 PM
AVERY 5160 LABEL =?Utf-8?B?TUlTU01JTExZ?= Microsoft Word New Users 4 29th Jan 2006 05:46 PM
how to set up labels one address per label on avery 5160 labels =?Utf-8?B?R2FyeQ==?= Microsoft Access Security 2 26th Nov 2005 01:38 PM
can i use clip art and text in a label avery 5160 =?Utf-8?B?dGl2ZXI0MzgwOQ==?= Microsoft Word Document Management 9 12th Oct 2004 06:48 PM
Avery 5160 Jay Microsoft ASP .NET 1 4th Mar 2004 09:52 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:25 AM.