<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: infopath 2010, which reference need to add for XDocument.PrintOut();</title><link>https://www.infopathdev.com:443/forums/thread/99572.aspx</link><pubDate>Wed, 15 Oct 2014 14:24:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:99572</guid><dc:creator>Wheels</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/99572.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=99572</wfw:commentRss><description>&lt;p&gt;Good morning.&lt;/p&gt;&lt;p&gt;I found this JScript online: &lt;span class="pln"&gt;document&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;printOut&lt;/span&gt;&lt;span class="pun"&gt;(&lt;/span&gt;&lt;span class="pln"&gt;outputFileName &lt;/span&gt;&lt;span class="pun"&gt;:&lt;/span&gt;&lt;span class="pln"&gt; &lt;/span&gt;&lt;span class="str"&gt;&amp;quot;C:\\temp\\fileName.tif&amp;quot;&lt;/span&gt;&lt;span class="pun"&gt;,&lt;/span&gt;&lt;span class="pln"&gt; printToFile &lt;/span&gt;&lt;span class="pun"&gt;:&lt;/span&gt;&lt;span class="pln"&gt; &lt;/span&gt;&lt;span class="kwd"&gt;true&lt;/span&gt;&lt;span class="pun"&gt;); at &lt;a href="http://stackoverflow.com/questions/7854205/suppress-print-dialog-when-printing-to-microsoft-document-image-writer-from-orac"&gt;http://stackoverflow.com/questions/7854205/suppress-print-dialog-when-printing-to-microsoft-document-image-writer-from-orac&lt;/a&gt;. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class="pun"&gt;I am looking for a C# equivalent in a InfoPath 2007. this.Print() works, but how would you save it as a .tif and name the file?&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class="pun"&gt;WHEELS&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: infopath 2010, which reference need to add for XDocument.PrintOut();</title><link>https://www.infopathdev.com:443/forums/thread/72198.aspx</link><pubDate>Fri, 18 Nov 2011 16:50:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72198</guid><dc:creator>snow.snow</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72198.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=72198</wfw:commentRss><description>&lt;p&gt;this.print(); will print the form directly. is there any way can let user do print preview first? :)&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;</description></item><item><title>Re: infopath 2010, which reference need to add for XDocument.PrintOut();</title><link>https://www.infopathdev.com:443/forums/thread/71832.aspx</link><pubDate>Mon, 07 Nov 2011 18:00:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:71832</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/71832.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=71832</wfw:commentRss><description>&lt;p&gt;As Hilary pointed out, XDocument is only available in the 2003 object model.&amp;nbsp; In 2007 and 2010, you would use this.Print();&lt;/p&gt;</description></item><item><title>Re: infopath 2010, which reference need to add for XDocument.PrintOut();</title><link>https://www.infopathdev.com:443/forums/thread/71828.aspx</link><pubDate>Mon, 07 Nov 2011 17:22:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:71828</guid><dc:creator>snow.snow</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/71828.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=71828</wfw:commentRss><description>&lt;p&gt;Thanks Jimmy,&lt;/p&gt;
&lt;p&gt;U are right!&amp;nbsp;&amp;nbsp; :)&lt;/p&gt;
&lt;p&gt;After modified the form Type, this.print() shows up . but still can&amp;#39;t see printOut() under xDocument. &lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item><item><title>Re: infopath 2010, which reference need to add for XDocument.PrintOut();</title><link>https://www.infopathdev.com:443/forums/thread/71823.aspx</link><pubDate>Mon, 07 Nov 2011 15:04:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:71823</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/71823.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=71823</wfw:commentRss><description>&lt;p&gt;If you change the form type to a non-browser form in those properties, you should be able to use the print functionality.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;In future, you can create a non-browser form by selecting one of the &lt;strong&gt;Blank Form (InfoPath Filler)&lt;/strong&gt; options when you select a template type.&amp;nbsp; If you select just &lt;strong&gt;Blank Form&lt;/strong&gt; it will be set up for browser compatibility.&lt;/p&gt;</description></item><item><title>Re: infopath 2010, which reference need to add for XDocument.PrintOut();</title><link>https://www.infopathdev.com:443/forums/thread/71816.aspx</link><pubDate>Mon, 07 Nov 2011 13:31:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:71816</guid><dc:creator>snow.snow</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/71816.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=71816</wfw:commentRss><description>&lt;p&gt;Thank you Jimmy,&lt;/p&gt;
&lt;p&gt;the Programming&amp;nbsp;Language is C#.&amp;nbsp; :)&lt;/p&gt;
&lt;p&gt;The Form type is Web Browser form...&amp;nbsp;it&amp;#39;s the default one, I didn&amp;#39;t pick it. &lt;br /&gt;the form linked to a webServices to connect the database. and we will fill out the form through filler. what kind of form type do you think I pick?&amp;nbsp; what&amp;#39;s different between the Web Browser form&amp;nbsp; and InfoPath filler form?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thank you!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: infopath 2010, which reference need to add for XDocument.PrintOut();</title><link>https://www.infopathdev.com:443/forums/thread/71769.aspx</link><pubDate>Fri, 04 Nov 2011 19:16:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:71769</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/71769.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=71769</wfw:commentRss><description>&lt;p&gt;If you go to File-&amp;gt;Form Options-&amp;gt;Compatibility, what does it show for the Form type?&amp;nbsp; What programming language and year are selected in File-&amp;gt;Form Options-&amp;gt;Programming?&lt;/p&gt;</description></item><item><title>Re: infopath 2010, which reference need to add for XDocument.PrintOut();</title><link>https://www.infopathdev.com:443/forums/thread/71768.aspx</link><pubDate>Fri, 04 Nov 2011 19:12:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:71768</guid><dc:creator>snow.snow</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/71768.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=71768</wfw:commentRss><description>&lt;div class="ForumPostContentText"&gt;
&lt;p&gt;Thanks Karsten and Hilary,&lt;/p&gt;
&lt;p&gt;there is no print under this, I mean after type this. no print() in the list...&lt;/p&gt;
&lt;p&gt;what do you mean &amp;#39;browser-based form&amp;#39; ?&lt;br /&gt;The form I built does not publish to any website... it&amp;#39;s a plain infoPath form , I&amp;nbsp;try to add a print button so the user can just click&amp;nbsp;print button after they fill out data in the infoPath filler.&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;&lt;/div&gt;</description></item><item><title>Re: infopath 2010, which reference need to add for XDocument.PrintOut();</title><link>https://www.infopathdev.com:443/forums/thread/71767.aspx</link><pubDate>Fri, 04 Nov 2011 19:10:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:71767</guid><dc:creator>snow.snow</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/71767.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=71767</wfw:commentRss><description>&lt;p&gt;Thanks Karsten and Hilary,&lt;/p&gt;
&lt;p&gt;there is no print under this, I mean after type this. no print() in the list...&lt;/p&gt;
&lt;p&gt;what do you mean &amp;#39;browser-based form&amp;#39; ?&lt;br /&gt;The form I built does not publish to any website... it&amp;#39;s a plain infoPath form and try add a print button when fill out data in the infoPath filler.&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;</description></item><item><title>Re: infopath 2010, which reference need to add for XDocument.PrintOut();</title><link>https://www.infopathdev.com:443/forums/thread/71701.aspx</link><pubDate>Thu, 03 Nov 2011 00:01:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:71701</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/71701.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=71701</wfw:commentRss><description>&lt;p&gt;Thanks, Karsten, for adding that - I should have mentioned it specifically. It can be kind of confusing, especially for those not accustomed to reading MSDN documentation.&lt;/p&gt;</description></item><item><title>Re: infopath 2010, which reference need to add for XDocument.PrintOut();</title><link>https://www.infopathdev.com:443/forums/thread/71700.aspx</link><pubDate>Wed, 02 Nov 2011 23:54:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:71700</guid><dc:creator>Karsten Brocksieper</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/71700.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=71700</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;just an additional note to Hilary´s answer. &lt;span style="color:blue;"&gt;this&lt;/span&gt;.Print() is not available for browser-based form&amp;nbsp;cause&amp;nbsp;this method prints to a local device. It doesn&amp;#39;t print your browser form.&lt;/p&gt;&lt;p&gt;Regards,&lt;/p&gt;</description></item><item><title>Re: infopath 2010, which reference need to add for XDocument.PrintOut();</title><link>https://www.infopathdev.com:443/forums/thread/71661.aspx</link><pubDate>Wed, 02 Nov 2011 17:31:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:71661</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/71661.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=71661</wfw:commentRss><description>&lt;p&gt;For IP 2010, looks like you just need:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;span style="COLOR:blue;"&gt;this&lt;/span&gt;.Print(&lt;span style="COLOR:blue;"&gt;true&lt;/span&gt;);&lt;br /&gt;or&lt;br /&gt;&lt;span style="COLOR:blue;"&gt;this&lt;/span&gt;.Print(&lt;span style="COLOR:blue;"&gt;false&lt;/span&gt;);&lt;br /&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;depending on if you want to show the print dialog - from &lt;a href="http://msdn.microsoft.com/en-us/library/aa944532.aspx"&gt;MSDN&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Re: infopath 2010, which reference need to add for XDocument.PrintOut();</title><link>https://www.infopathdev.com:443/forums/thread/71659.aspx</link><pubDate>Wed, 02 Nov 2011 17:02:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:71659</guid><dc:creator>snow.snow</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/71659.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=71659</wfw:commentRss><description>&lt;p&gt;any one knows why? or what code should put in the print button in infopath 2010.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;thanks a lot!&lt;/p&gt;</description></item><item><title>infopath 2010, which reference need to add for XDocument.PrintOut();</title><link>https://www.infopathdev.com:443/forums/thread/71601.aspx</link><pubDate>Tue, 01 Nov 2011 18:51:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:71601</guid><dc:creator>snow.snow</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/71601.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=71601</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;I already reference the infopath and added : &lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;
&lt;p&gt;using&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; Microsoft.Office.Interop.InfoPath; &lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;but I can not find printout() under XDocument.&amp;nbsp; anyone knows why?&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;Thanks,&lt;/p&gt;&lt;/font&gt;</description></item></channel></rss>