<?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: InfoPath 2007 issue with RightFax need to automate print to RightFax printer</title><link>https://www.infopathdev.com:443/forums/thread/98452.aspx</link><pubDate>Thu, 24 Jul 2014 15:46:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:98452</guid><dc:creator>Wheels</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/98452.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=98452</wfw:commentRss><description>&lt;p&gt;We were able to determine that with RightFax when you submit the form with the &amp;#39;Outlook method&amp;#39;&amp;nbsp;To: [Fax:Someone@5551234567] versus the Print to the Right Fax printer, the formatting of the form is off in the .tif file that is generated. &lt;/p&gt;&lt;p&gt;What I am trying to figure out is how to set up a data connection&amp;nbsp;to the Right Fax printer. I started looking into code to do this, and I figured out how to set the Right Fax as the default &amp;#39;printer&amp;#39; for tthe form and generate the print dialog, but not how to populate the necessary variables such as fax #.&lt;/p&gt;&lt;p&gt;WHEELS&lt;/p&gt;</description></item><item><title>Re: InfoPath 2007 issue with RightFax need to automate print to RightFax printer</title><link>https://www.infopathdev.com:443/forums/thread/98311.aspx</link><pubDate>Sat, 12 Jul 2014 23:39:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:98311</guid><dc:creator>Wheels</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/98311.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=98311</wfw:commentRss><description>Thank you Patrick. I am hoping to do it without the aid of 3rd party applications/tools if possible.&amp;nbsp;I don&amp;#39;t believe my company will spring for the licenses. WHEELS</description></item><item><title>Re: InfoPath 2007 issue with RightFax need to automate print to RightFax printer</title><link>https://www.infopathdev.com:443/forums/thread/98310.aspx</link><pubDate>Sat, 12 Jul 2014 23:34:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:98310</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/98310.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=98310</wfw:commentRss><description>&lt;p&gt;Hi Wheels,&lt;/p&gt;
&lt;p&gt;qRules as a Print command. You could install the free trial from Qdabra.com and hook it up. No coding needed but the form will have to be full trust to print programmatically. &lt;/p&gt;
&lt;p&gt;Another solution might be to use a SendAsPDF HTML Web service or eFax which I believe has web services. qRules will let you render a view as HTML and you could send that to an eFax Web service and just maybe that would work. Worth a try!&lt;/p&gt;
&lt;p&gt;Let us know if you need help. We have support staff available tomorrow.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;</description></item><item><title>InfoPath 2007 issue with RightFax need to automate print to RightFax printer</title><link>https://www.infopathdev.com:443/forums/thread/98309.aspx</link><pubDate>Sat, 12 Jul 2014 19:06:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:98309</guid><dc:creator>Wheels</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/98309.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=98309</wfw:commentRss><description>&lt;p&gt;Good afternoon experts. &lt;/p&gt;&lt;p&gt;I am working on a InfoPath 2007 form, and I set up a Data Connection (Tools --&amp;gt; Data Connection --&amp;gt; Add --&amp;gt; Submit Data --&amp;gt; Next --&amp;gt; AS an Email message --&amp;gt; Next --&amp;gt; in the To field you put [Fax:Someone@5555555555] --&amp;gt; Next --&amp;gt; Send only the active view of the form and no attachment --&amp;gt; Next --&amp;gt; Enter a name for this Data Connection --&amp;gt; Finish) to email the form to a RightFax email&amp;nbsp;and it submits successfully; creating a .tif document, but when this is imaged into one of our image viewing systems, the lines and text are faded, and the drop-down fields do not display. When the form is &amp;#39;printed manually&amp;#39; (File --&amp;gt; Print --&amp;gt; RightFax Fax Printer --&amp;gt; OK --&amp;gt; the MS Office 2007 Fax Information properties appear --&amp;gt; on the Main tab in the To section you enter the Fax # (e.g. &lt;span style="white-space:nowrap;" class="baec5a81-e4d6-4674-97f3-e9220f0136c1"&gt;555-555-5555&lt;a style="margin:0px;border:currentColor;left:0px;top:0px;width:16px;height:16px;right:0px;bottom:0px;overflow:hidden;vertical-align:middle;float:none;display:inline;white-space:nowrap;" title="Call: 555-555-5555" href="http://www.infopathdev.com/forums/AddPost.aspx?ForumID=39#"&gt;&lt;img style="margin:0px;border:currentColor;left:0px;top:0px;width:16px;height:16px;right:0px;bottom:0px;overflow:hidden;vertical-align:middle;float:none;display:inline;white-space:nowrap;" title="Call: 555-555-5555" alt="" /&gt;&lt;/a&gt;&lt;/span&gt;)--&amp;gt; Click Send), it displays correctly in the imaging system with all the data intact.&lt;/p&gt;&lt;p&gt;&amp;nbsp;In that data connection when I replace the [Fax:Someone@5555555555] with &lt;a href="mailto:Someone@5555555555"&gt;Someone@5555555555&lt;/a&gt; or &lt;span style="white-space:nowrap;" class="baec5a81-e4d6-4674-97f3-e9220f0136c1"&gt;555-555-5555&lt;a style="margin:0px;border:currentColor;left:0px;top:0px;width:16px;height:16px;right:0px;bottom:0px;overflow:hidden;vertical-align:middle;float:none;display:inline;white-space:nowrap;" title="Call: 555-555-5555" href="http://www.infopathdev.com/forums/AddPost.aspx?ForumID=39#"&gt;&lt;img style="margin:0px;border:currentColor;left:0px;top:0px;width:16px;height:16px;right:0px;bottom:0px;overflow:hidden;vertical-align:middle;float:none;display:inline;white-space:nowrap;" title="Call: 555-555-5555" alt="" /&gt;&lt;/a&gt;&lt;/span&gt;, the email address cannot be resolved and it errors out.&lt;/p&gt;&lt;p&gt;I know C#, and I was wondering if anyone know how to automate the &amp;#39;manual&amp;#39; process I outlined above? I have done some with XDocument before, but I don&amp;#39;t know enough on automating the File --&amp;gt; Print and setting the varibles (Printer, Fax #, etc.) dynamically. Any assistance would be greatly appreciated.&lt;/p&gt;&lt;p&gt;I was able to send this JScript up:&lt;/p&gt;&lt;p&gt;function CTRL1_5::OnClick(eventObj)
&lt;/p&gt;&lt;p&gt;{
	// Write your code here
	XDocument.PrintOut() ; // Print the Document&lt;/p&gt;&lt;p&gt;
}&lt;/p&gt;&lt;p&gt;This will display the Print dialog box. All I need to do is figure how to set those variables dynamically, and trigger the Send.&lt;/p&gt;&lt;p&gt;WHEELS&lt;/p&gt;</description></item></channel></rss>