Tuesday, January 29, 2013

Print from Silverlight 5 / VB.Net

Print from Silverlight 5 / VB.Net

I'm really struggling to understand how to do this.

Does any one have any VB.Net code I can wire up to a 'Print' button in Silverlight that will print multiple pages, AND fit to print?

My output is made up of multiple grids, all 1020px wide and totalling approx 5000px in height.

Thanks.

Answers & Comments...

Answer: 1

You might think about the memory usage during print process. Debug your code and printer interface of computer and check the data sent to printer. In your case, Silverlight might send GB's of data to printer which blocks computer and printer both.

http://msdn.microsoft.com/en-us/library/system.windows.printing.printdocument(v=vs.95).aspx?cs-save-lang=1&cs-lang=vb#code-snippet-2

by : serifcetinerhttp://stackoverflow.com/users/1530871




No comments:

Post a Comment

Send us your comment related to the topic mentioned on the blog