<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: How to code in C# to print for web browser form</title><link>https://www.infopathdev.com:443/forums/thread/69285.aspx</link><pubDate>Tue, 16 Aug 2011 00:39:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69285</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69285.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=69285</wfw:commentRss><description>&lt;p&gt;Hi Gombear,&lt;/p&gt;
&lt;p&gt;The Print method prints to a local device. It doesn&amp;#39;t print your browser form. I suggest using a InfoPath Web part to display your form and adding another web part under it with a button that has code which prints your screen. Good luck!&lt;/p&gt;</description></item><item><title>How to code in C# to print for web browser form</title><link>https://www.infopathdev.com:443/forums/thread/69257.aspx</link><pubDate>Mon, 15 Aug 2011 20:08:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69257</guid><dc:creator>gombear</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69257.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=69257</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am creating a print button in InfoPath 2010 form.&lt;/p&gt;
&lt;p&gt;It is web browser only form (Not InfoPath rich).&amp;nbsp; What or How do I code print function?&lt;/p&gt;
&lt;p&gt;this.Print() is not available for web-based form.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;</description></item></channel></rss>