<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: InfoPath2007 - How to print out a Form within the code. (not XDocument)</title><link>https://www.infopathdev.com:443/forums/thread/41906.aspx</link><pubDate>Wed, 20 May 2009 22:16:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:41906</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/41906.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=41906</wfw:commentRss><description>&lt;p&gt;Hi:&lt;/p&gt;
&lt;p&gt;In C#, I used &amp;#39;this.Print()&amp;#39; which worked on my test form. Add a button to your form, then under the button&amp;#39;s properties, select Edit Form Code. If you are using VB.NET, I&amp;#39;d assume Me.Print() would work. This is for the client version of IP. I&amp;#39;m not sure how to do this for a browser form, but &lt;a href="http://aspalliance.com/1466_Printing_InfoPath_2007_WebBased_Forms_to_PDF.all#Page3"&gt;this&lt;/a&gt; article on printing to PDF may be useful.&lt;/p&gt;</description></item><item><title>InfoPath2007 - How to print out a Form within the code. (not XDocument)</title><link>https://www.infopathdev.com:443/forums/thread/41886.aspx</link><pubDate>Wed, 20 May 2009 09:32:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:41886</guid><dc:creator>mario.fraiss</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/41886.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=41886</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;&amp;nbsp;I&amp;#39;m completely new to Infopath and I want to create a Button or a Link which Prints out the form. So I ask: Which code do I have to use?&lt;/p&gt;&lt;p&gt;&amp;nbsp;My Main Problem is, that I don&amp;#39;t know that much about the ObjectModel (I do reading MSDN!) .. e.g. How can I access to the XmlForm and so on. &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>