<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Printing an PDF ActiveX Control...</title><link>https://www.infopathdev.com:443/forums/thread/49881.aspx</link><pubDate>Fri, 11 Dec 2009 08:25:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49881</guid><dc:creator>Folke</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49881.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=49881</wfw:commentRss><description>&lt;p&gt;no one got an idea? or another suggestion?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;may be i can control ghost script from infopath?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;greetings&lt;/p&gt;&lt;p&gt;Folke &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Printing an PDF ActiveX Control...</title><link>https://www.infopathdev.com:443/forums/thread/49784.aspx</link><pubDate>Tue, 08 Dec 2009 12:38:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49784</guid><dc:creator>Folke</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49784.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=49784</wfw:commentRss><description>&lt;p&gt;Hello everyone,&lt;/p&gt;
&lt;p&gt;What i use:&lt;/p&gt;
&lt;p&gt;InfoPath 2007&lt;/p&gt;
&lt;p&gt;MO pdf&amp;nbsp;&amp;amp; xps writer&amp;nbsp;&lt;/p&gt;
&lt;p&gt;VB&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What i did:&lt;/p&gt;
&lt;p&gt;created an InfoPath form and added a custom ActiveX control (Adobe Pdf Reader). So far so good.&lt;/p&gt;
&lt;p&gt;What works:&lt;/p&gt;
&lt;p&gt;I can specify the document which is viewed by using a text field and a button. That works, the pdf dokument is shown fine in my form.&lt;/p&gt;
&lt;p&gt;the problem:&lt;/p&gt;
&lt;p&gt;When i try tro print out the whole form, the pdf file is not printed. Theres only plenty of empty space.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;may be:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;i can programmatically change the &amp;quot;visible for printing&amp;nbsp;value&amp;quot; (PrintOut or PrintObject setting) of that activeX part? &lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;&lt;font size="2"&gt;
&lt;p&gt;MainDataSource.CreateNavigator().SelectSingleNode(&lt;/font&gt;&lt;font color="#800000" size="2"&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;XPATH TO THE FIELD OF THE ACTIVEX CONTROL&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;, NamespaceManager).&lt;u&gt;&amp;quot;visible for printing value&amp;quot;&lt;/u&gt;(true/false&lt;/font&gt;&lt;font size="2"&gt;)&lt;/font&gt;&lt;/p&gt;&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;
&lt;p&gt;&lt;font size="2"&gt;doesnt work, because the values i tried are not members of createNavigator.....&lt;/p&gt;&lt;/font&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;i can programmatically print out the form to pdf (that already works) and&amp;nbsp;add the implemented pdf at the end of the print?&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;btw:&lt;/p&gt;
&lt;p&gt;whole formular is connected to sharepoint. (i know, doesnt make things easier) ;)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for help &amp;amp; greetings&lt;/p&gt;
&lt;p&gt;Folke&lt;/p&gt;</description></item></channel></rss>