DCSIMG
Printer - Alex Golesh's Blog About Silverlight Development

Browse by Tags

All Tags » Printer (RSS)

Silverlight 4: New features overview (Part 2) – Printing Support

In previous part (here) I’ve created sample application which uses Webcam and captures the image. In this post I’ll show how to print received image (and any part of the UI) to a printer. In Silverlight 4 we got new class, called PrintDocument which is a part of “System.Windows.Printing” namespace. This class provides a number of events, which helps to control the printing job: StartPrint – occurs right after printer selection dialog successfully returns, prior the first page print PrintPage – occurs...