<?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: Print a form from a button</title><link>https://www.infopathdev.com:443/forums/thread/101963.aspx</link><pubDate>Wed, 01 Apr 2015 07:16:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:101963</guid><dc:creator>Jedzbatz</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/101963.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=101963</wfw:commentRss><description>Dear Guys,


It seems that i am the beginner of this blog and i don&amp;#39;t have any idea when i am going to start question regarding my problem and i found out there is a reply button here so i supposed to click and post my issue.

My issue is regarding print button from the info path, i tried many times to get rules but it doesn&amp;#39;t work, web part into share point itself isn&amp;#39;t, i supposed to  set the the full trust from FORM OPTION but i didn&amp;#39;t found  , and i follow all the thread from different website but isn&amp;#39;t enough too, so i decided to ask personally to resolve my problem, i can&amp;#39;t able to get print button. anyone there a good heart to help me to resolve my issue in step by step?

Many thanks,
Eduard</description></item><item><title>Re: Print a form from a button</title><link>https://www.infopathdev.com:443/forums/thread/76944.aspx</link><pubDate>Wed, 28 Mar 2012 19:01:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76944</guid><dc:creator>NWFTC</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76944.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=76944</wfw:commentRss><description>&lt;p&gt;HI Hilary&lt;/p&gt;&lt;p&gt;i have read the post on useing a print button but i don&amp;#39;t know how to add code behind the button. is this somthing you can show me?&lt;/p&gt;</description></item><item><title>Re: Print a form from a button</title><link>https://www.infopathdev.com:443/forums/thread/64069.aspx</link><pubDate>Thu, 10 Feb 2011 08:30:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64069</guid><dc:creator>Potemkine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64069.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=64069</wfw:commentRss><description>hi, I already reply your other post but I just learn you use Vb so try to replace this for Me.</description></item><item><title>Re: Print a form from a button</title><link>https://www.infopathdev.com:443/forums/thread/64065.aspx</link><pubDate>Thu, 10 Feb 2011 04:55:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64065</guid><dc:creator>witakr</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64065.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=64065</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi folks..&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I try this: this.print() and it underlines &amp;quot;this&amp;quot; and says it is not declared... furthermore it wont let me publish my form unless I remove that bit of code.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I&amp;#39;m using IP2010 and coding in VB&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Anyone know what i am doing wrong? &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Print a form from a button</title><link>https://www.infopathdev.com:443/forums/thread/63583.aspx</link><pubDate>Wed, 26 Jan 2011 19:33:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63583</guid><dc:creator>dms.WebDev</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63583.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=63583</wfw:commentRss><description>&lt;font face="Calibri" size="3"&gt;&amp;nbsp;I&amp;#39;m using InfoPath 2007 with&amp;nbsp;MOSS 2007&amp;nbsp;however I&amp;#39;m not designing it to be opened in a browser yet so if you are, I&amp;#39;m not certain if this method to create a print button would still work.&amp;nbsp; Also am using C#:&lt;/font&gt; 
&lt;p class="MsoListParagraph" style="MARGIN:0in 0in 10pt 0.5in;TEXT-INDENT:-0.25in;mso-list:l0 level1 lfo1;"&gt;&lt;span style="mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="MARGIN:0in 0in 10pt 0.5in;TEXT-INDENT:-0.25in;mso-list:l0 level1 lfo1;"&gt;&lt;span style="mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font face="Calibri" size="3"&gt;1.&lt;/font&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri" size="3"&gt;In the button properties, click “Edit Form Code” button.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;In event handler method for your print button click event, add this code:&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:&amp;#39;Courier New&amp;#39;;"&gt;&lt;font size="3"&gt;&lt;span style="mso-tab-count:2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;this.print();&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font face="Calibri" size="3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.&lt;/font&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;In Form Options menu from Tools menu, under Category select Security and Trust.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&lt;span style="mso-tab-count:1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Under &lt;i style="mso-bidi-font-style:normal;"&gt;Security Level&lt;/i&gt;, check Full Trust (may need to uncheck “Automatically determine security level” first).&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&lt;span style="mso-tab-count:1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;In &lt;i style="mso-bidi-font-style:normal;"&gt;Form Template Signature&lt;/i&gt;, click Create Certificate&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;span style="mso-tab-count:1;"&gt;&lt;font face="Calibri" size="3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Print a form from a button</title><link>https://www.infopathdev.com:443/forums/thread/57828.aspx</link><pubDate>Tue, 10 Aug 2010 06:07:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57828</guid><dc:creator>Tugce Konuklar</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57828.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=57828</wfw:commentRss><description>Hi,
I am extremly new about infoPath and i use InfoPath2010 now. I try to make a print button on my form, but ı don t know how can ı write codes of my button and where?
And in my InfoPath i cant use code editor? how can i fix that?And could you tell me please how can ı add a new Rule, step by step. All articals are about infoPath 2003 or 2007, but 20010 has a different design and i could n t find anything which i searched. Could you help me Please.

thank you</description></item><item><title>Re: Print a form from a button</title><link>https://www.infopathdev.com:443/forums/thread/53963.aspx</link><pubDate>Wed, 21 Apr 2010 11:48:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53963</guid><dc:creator>bartman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53963.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=53963</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I&amp;#39;m currently using infopath2007&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Print a form from a button</title><link>https://www.infopathdev.com:443/forums/thread/53962.aspx</link><pubDate>Wed, 21 Apr 2010 11:12:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53962</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53962.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=53962</wfw:commentRss><description>&lt;p&gt;what version of infopath are you having installed on your machine. is it infopath 03, 07 or 2010&lt;/p&gt;</description></item><item><title>Re: Print a form from a button</title><link>https://www.infopathdev.com:443/forums/thread/53955.aspx</link><pubDate>Wed, 21 Apr 2010 09:34:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53955</guid><dc:creator>bartman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53955.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=53955</wfw:commentRss><description>I probably have some sort of super-duper King of all Infopaths installed... The box was unchecked when I looked.&lt;br /&gt;</description></item><item><title>Re: Print a form from a button</title><link>https://www.infopathdev.com:443/forums/thread/53954.aspx</link><pubDate>Wed, 21 Apr 2010 09:22:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53954</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53954.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=53954</wfw:commentRss><description>&lt;p&gt;go to form template&lt;/p&gt;
&lt;p&gt;tools -&amp;gt; options -&amp;gt; comaptibility -&amp;gt; uncheck Design a form template that can be opened in a browser or infopath&lt;/p&gt;
&lt;p&gt;and then try previewing the form&lt;/p&gt;</description></item><item><title>Re: Print a form from a button</title><link>https://www.infopathdev.com:443/forums/thread/53953.aspx</link><pubDate>Wed, 21 Apr 2010 09:02:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53953</guid><dc:creator>bartman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53953.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=53953</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi Qazi,&lt;/p&gt;&lt;p&gt;When I try the button in preview mode, I still get the message that IP could not execute because there is an arror in the form template...&lt;/p&gt;&lt;p&gt;Thanks anyway!&lt;/p&gt;&lt;p&gt;Regards &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Print a form from a button</title><link>https://www.infopathdev.com:443/forums/thread/53952.aspx</link><pubDate>Wed, 21 Apr 2010 08:37:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53952</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53952.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=53952</wfw:commentRss><description>&lt;p&gt;in the function &lt;/p&gt;
&lt;p&gt;use &lt;/p&gt;
&lt;p&gt;this.Print(); &lt;/p&gt;
&lt;p&gt;instead of &lt;/p&gt;
&lt;p&gt;XDocument.PrintOut();&lt;/p&gt;</description></item><item><title>Re: Print a form from a button</title><link>https://www.infopathdev.com:443/forums/thread/53950.aspx</link><pubDate>Wed, 21 Apr 2010 08:05:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53950</guid><dc:creator>bartman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53950.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=53950</wfw:commentRss><description>&lt;p&gt;Hi Qazi,&lt;/p&gt;&lt;p&gt;Thanks for the suggestion, but it still doesn&amp;#39;t work :(&lt;/p&gt;&lt;p&gt;I&amp;#39;m not sure if it is a client form of a browser enabled form, but I think it&amp;#39;s a client form (infopath opens templates from a sharepoint library locally. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Regards, &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Print a form from a button</title><link>https://www.infopathdev.com:443/forums/thread/53949.aspx</link><pubDate>Wed, 21 Apr 2010 07:50:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53949</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53949.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=53949</wfw:commentRss><description>&lt;p&gt;try &lt;/p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;
&lt;p&gt;this&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;.Print();&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;Print functionality is avaibale only for client forms, it is not avaiable in browser enabled forms&lt;/p&gt;&lt;/font&gt;</description></item><item><title>Re: Print a form from a button</title><link>https://www.infopathdev.com:443/forums/thread/53947.aspx</link><pubDate>Wed, 21 Apr 2010 07:33:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53947</guid><dc:creator>bartman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53947.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=53947</wfw:commentRss><description>Hi Hilary,&lt;p&gt;&lt;img alt="" /&gt;&lt;/p&gt;&lt;p&gt;I&amp;#39;ve been trying to add the print button in IP 07 but I can&amp;#39;t get it operational. IP keeps incisting that there is a fault in the code, and therefore it cannot excecute the action (or something like that).&lt;/p&gt;&lt;p&gt;The code I&amp;#39;ve inserted is &lt;/p&gt;&lt;p&gt;&amp;quot;function CTRL1206_5::OnClick(eventObj)
&lt;br /&gt;{
&lt;br /&gt;XDocument.PrintOut();	// Write your code here
&lt;br /&gt;}&amp;quot; &lt;br /&gt;&lt;br /&gt;(the &amp;quot; aren&amp;#39;t actually in the code)&lt;/p&gt;&lt;p&gt;Now this makes me feel like such an ass (the donkey, not the buttox), because I read everyone&amp;#39;s messages sayin that it&amp;#39;s SO easy, yet I can&amp;#39;t get it operational,&lt;/p&gt;&lt;p&gt;Could you please help me? &lt;/p&gt;&lt;p&gt;Thanks a milion!&lt;/p&gt;&lt;p&gt;Bart &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>