<?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>Printing and emailing using submit button</title><link>https://www.infopathdev.com:443/forums/thread/84118.aspx</link><pubDate>Fri, 02 Nov 2012 02:39:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:84118</guid><dc:creator>Steven James Moss</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/84118.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=84118</wfw:commentRss><description>&lt;p&gt;Is this possible?&lt;/p&gt;&lt;p&gt;I have a need to have the form emailed using selections and also printing directly to a specific network printer.&lt;/p&gt;&lt;p&gt;Is there some code that I can add to the button.&lt;/p&gt;&lt;p&gt;I am currently using a functio to call the email address I have which a user can select to email the form to but would like to add some code to it to also send the form to a specific network printer. Can anyone help?&lt;/p&gt;&lt;p&gt;Here&amp;#39;s the curent code.&lt;/p&gt;&lt;p&gt;eval(eval(EmailAddresses, &amp;#39;concat(., substring(&amp;quot;;&amp;quot;, 1, string-length(.)), &amp;quot; &amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;)&lt;/p&gt;&lt;p&gt;Regards&lt;/p&gt;&lt;p&gt;Steve&lt;/p&gt;</description></item></channel></rss>