{"id":1299,"date":"2009-03-20T16:52:26","date_gmt":"2009-03-20T15:52:26","guid":{"rendered":"http:\/\/www.itwriting.com\/blog\/1299-how-to-print-in-silverlight-out-of-the-browser.html"},"modified":"2009-03-20T16:52:26","modified_gmt":"2009-03-20T15:52:26","slug":"how-to-print-in-silverlight-out-of-the-browser","status":"publish","type":"post","link":"https:\/\/www.itwriting.com\/blog\/1299-how-to-print-in-silverlight-out-of-the-browser.html","title":{"rendered":"How to print in Silverlight out of the browser"},"content":{"rendered":"<p>Trick question, you can\u2019t, or not in any sane way that I\u2019ve discovered. When an app using Microsoft Silverlight is running in the browser you at least have the browser\u2019s print features, but a SLOOB (Silverlight Out of Browser, a new feature in Silverlight 3) does not even have that to fall back on.<\/p>\n<p>This is unfortunate for business applications, though of course many applications are fine without print features.<\/p>\n<p>Workarounds: well, you can press Alt+PrintScreen and paste into Paint\u2026<\/p>\n<p>Another idea is to generate a document in code, then let the user \u201cdownload\u201d it from your SLOOB to somewhere on the desktop, since finding a document in the app\u2019s isolated storage would be a challenge. The user can then print the document at his or her leisure.<\/p>\n<p>What this illustrates is that even in version 3.0, Silverlight is not altogether mature, especially for this new out-of-browser feature. I\u2019m told that print support is planned in some future version &#8211; Silverlight 4.0 I guess. Software is always a waiting game.<\/p>\n<p>Note this post is based on the Silverlight 3.0 beta; it\u2019s just possible something could be added in the final version.<\/p>\n<div style=\"padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px\" id=\"scid:0767317B-992E-4b12-91E0-4F059A8CECA8:d396c5af-7041-4d0f-92de-f57f9029569d\" class=\"wlWriterEditableSmartContent\">Technorati Tags: <a href=\"http:\/\/technorati.com\/tags\/silverlight\" rel=\"tag\">silverlight<\/a>,<a href=\"http:\/\/technorati.com\/tags\/sloob\" rel=\"tag\">sloob<\/a>,<a href=\"http:\/\/technorati.com\/tags\/microsoft\" rel=\"tag\">microsoft<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Trick question, you can\u2019t, or not in any sane way that I\u2019ve discovered. When an app using Microsoft Silverlight is running in the browser you at least have the browser\u2019s print features, but a SLOOB (Silverlight Out of Browser, a new feature in Silverlight 3) does not even have that to fall back on. This &hellip; <a href=\"https:\/\/www.itwriting.com\/blog\/1299-how-to-print-in-silverlight-out-of-the-browser.html\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">How to print in Silverlight out of the browser<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,55,77],"tags":[],"class_list":["post-1299","post","type-post","status-publish","format-standard","hentry","category-net","category-microsoft","category-silverlight"],"_links":{"self":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts\/1299","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/comments?post=1299"}],"version-history":[{"count":0,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts\/1299\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/media?parent=1299"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/categories?post=1299"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/tags?post=1299"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}