Jeff Brand has been hacking away at a side project and experimenting with Prism 2 and MVC/MVP/MVVM/et al design patterns and came upon the need to print some of the output from that was already on the screen.
What I was really looking for was a way to print WYSIWYG style. I wanted to take just the chart portion of the UI and send it to the printer. A web search got me close - “Printing WPF window(visual) to printer and fit on a page”. The problem was that Pankaj’s solution was printing the entire window, and not just a smaller part of the overall visual tree. Fortunately, the solution is pretty straightforward but I thought I would post it anyway. So standing on the shoulder of giants, let me show you what I did.