<?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: .NET and Printer</title><link>https://www.infopathdev.com:443/forums/thread/13912.aspx</link><pubDate>Tue, 08 Nov 2005 08:49:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13912</guid><dc:creator>mbrighi</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13912.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13912</wfw:commentRss><description>I don't know views....how can I modify it? Where can I find some examples?&lt;br /&gt;Thank's&lt;br /&gt;&lt;br /&gt;Marco</description></item><item><title>Re: .NET and Printer</title><link>https://www.infopathdev.com:443/forums/thread/13911.aspx</link><pubDate>Mon, 07 Nov 2005 18:03:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13911</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13911.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13911</wfw:commentRss><description>Actually, I've never done this before. I recall a previous thread (I think on the MS Newsgroups) from a guy who was doing this, but he had issues. Mainly, that he could set the printer once, but could not change it again after that. Or--he could change it via code, but it only physically changed the first time. To change it again, he had to close InfoPath and reopen it.&lt;br /&gt;&lt;br /&gt;His attempt was to change it to a different printer for a particular view, then change it right back to the default printer (for the other views). He could get it to change to the different printer, but never got it to change back.&lt;br /&gt;&lt;br /&gt;As far as I know, this was never resolved.&lt;br /&gt;&lt;br /&gt;I don't know the process he used to change the printer to begin with. I would suggest searching both this site, and the Microsoft public newsgroups, as it was on one of those two places where I saw it. I believe I had replied to his message at least once too, which may help narrow down your search.&lt;br /&gt;&lt;br /&gt;Good luck.&lt;br /&gt;&lt;br /&gt;Greg Collins [InfoPath MVP]&lt;br /&gt;InfoPath Dev</description></item><item><title>Re: .NET and Printer</title><link>https://www.infopathdev.com:443/forums/thread/13910.aspx</link><pubDate>Mon, 07 Nov 2005 07:26:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13910</guid><dc:creator>mbrighi</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13910.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13910</wfw:commentRss><description>Thank's, it's very important for me to do this operation.&lt;br /&gt;Write me as soon as possible....&lt;br /&gt;Marco</description></item><item><title>Re: .NET and Printer</title><link>https://www.infopathdev.com:443/forums/thread/13909.aspx</link><pubDate>Sat, 05 Nov 2005 07:34:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13909</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13909.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13909</wfw:commentRss><description>Hi Marco and welcome to our forum!&lt;br /&gt;Greg knows how to do this. I'll ask him.&lt;br /&gt;&lt;br /&gt;Patrick Halstead [InfoPath MVP]&lt;br /&gt;InfoPathDev</description></item><item><title>.NET and Printer</title><link>https://www.infopathdev.com:443/forums/thread/12657.aspx</link><pubDate>Thu, 03 Nov 2005 14:29:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12657</guid><dc:creator>mbrighi</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12657.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12657</wfw:commentRss><description>I'm a .NET developer.&lt;br /&gt;How can I change the active printer in infoPath istance?&lt;br /&gt;&lt;br /&gt;In word the code is:&lt;br /&gt;Dim PDFConverter_WordApplication As Object        &lt;br /&gt;PDFConverter_WordApplication = CreateObject("Word.Application")&lt;br /&gt;PDFConverter_WordApplication.ActivePrinter = ("Amyuni PDF Converter")&lt;br /&gt;&lt;br /&gt;I have tryed:&lt;br /&gt;Dim PDFConverter_InfoApplication As Object        &lt;br /&gt;PDFConverter_InfoApplication = CreateObject("InfoPath.Application")&lt;br /&gt;PDFConverter_InfoApplication.ActivePrinter = ("Amyuni PDF Converter")&lt;br /&gt;but ".ActivePrinter" isn't a valid property...&lt;br /&gt;&lt;br /&gt;Help please..&lt;br /&gt;&lt;br /&gt;Bye&lt;br /&gt;Marco</description></item></channel></rss>