<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to Print to Specific Printer using PrintAndExport? in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-print-to-specific-printer-using/m-p/477732#M12945</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;No, I meant printing from code (isn't this an ArcObjects.Net discussion group?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found the answer - I was making it much harder than it needed to be. All I had to do was this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;paper.PrinterName = strPrinterName&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where strPrinterName is the name of the printer I want to print to, which may or may not be the default printer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Jul 2014 21:29:47 GMT</pubDate>
    <dc:creator>TereseRowekamp</dc:creator>
    <dc:date>2014-07-15T21:29:47Z</dc:date>
    <item>
      <title>How to Print to Specific Printer using PrintAndExport?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-print-to-specific-printer-using/m-p/477730#M12943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I can find examples of printing to the default printing but am having a difficult navigating the new site to find an example of printing a map layout to a user-selected printer that is not the default printer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone please help me with this? Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2014 14:05:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-print-to-specific-printer-using/m-p/477730#M12943</guid>
      <dc:creator>TereseRowekamp</dc:creator>
      <dc:date>2014-07-14T14:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to Print to Specific Printer using PrintAndExport?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-print-to-specific-printer-using/m-p/477731#M12944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you talking about causing a map to print from code, or are you talking about just printing from within ArcMap?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming that you meant the latter, you click "Print..." to open the Print dialog. At the top of that dialog, it will show you the currently selected printer, which is likely your default printer. There's also a "Setup..." button in the top right. Click that and it'll bring up the "Page and Print Setup" dialog. At the top of that dialog is a drop down list that has all your installed printers listed. Use that to choose a different printer. You can then access the printer properties with the "Properties..." button, change the orientation, paper source, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using ArcMap 10.1, if that makes any difference, but I'm guessing it would be about the same for most any recent version.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 21:19:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-print-to-specific-printer-using/m-p/477731#M12944</guid>
      <dc:creator>RobertMaddox</dc:creator>
      <dc:date>2014-07-15T21:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to Print to Specific Printer using PrintAndExport?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-print-to-specific-printer-using/m-p/477732#M12945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;No, I meant printing from code (isn't this an ArcObjects.Net discussion group?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found the answer - I was making it much harder than it needed to be. All I had to do was this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;paper.PrinterName = strPrinterName&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where strPrinterName is the name of the printer I want to print to, which may or may not be the default printer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 21:29:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-print-to-specific-printer-using/m-p/477732#M12945</guid>
      <dc:creator>TereseRowekamp</dc:creator>
      <dc:date>2014-07-15T21:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to Print to Specific Printer using PrintAndExport?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-print-to-specific-printer-using/m-p/477733#M12946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My apologies. I didn't see anything in your question that sounded like you were talking about code, so I just assumed you must have been talking about just printing from ArcMap - which is admittedly confusing as well, since you would normally expect to be able to select the printer straight from the Print dialog. LOL &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm glad you were able to find the answer, but I have no idea what "paper" is in your code snippet. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/laugh.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 21:54:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-print-to-specific-printer-using/m-p/477733#M12946</guid>
      <dc:creator>RobertMaddox</dc:creator>
      <dc:date>2014-07-15T21:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to Print to Specific Printer using PrintAndExport?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-print-to-specific-printer-using/m-p/477734#M12947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry - I was in a hurry when I wrote that and should have included more information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see now that my question itself didn't say anything about coding. Since PrintAndExport is an ArcObjects CoClass name and I included that in the subject line, I thought it would be understood that it was a coding question. I'll be more aware of being more clear in the future. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I should have included this in my earlier response as well - the line of code is from the ExportToActiveView ArcObjects sample found here: &lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//000100000026000000"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//000100000026000000&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 15:46:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-print-to-specific-printer-using/m-p/477734#M12947</guid>
      <dc:creator>TereseRowekamp</dc:creator>
      <dc:date>2014-07-17T15:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to Print to Specific Printer using PrintAndExport?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-print-to-specific-printer-using/m-p/477735#M12948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem. I didn't really notice the PrintAndExport part until after you posted your previous reply, and I'm just not that familiar with that area of ArcObjects to recognize it as such.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And my comment about the "paper" variable was just that I found it very comical that you explained what "strPrinterName" was, even though it would be fairly obvious to a programmer based on commonly used naming conventions, but that the "paper" variable, which doesn't have an obvious naming convention, was not explained. Though if I knew more about that area of ArcObjects, naming a variable "paper" and using that variable to define what printer you want to use, might not seem so weird. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 16:12:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-print-to-specific-printer-using/m-p/477735#M12948</guid>
      <dc:creator>RobertMaddox</dc:creator>
      <dc:date>2014-07-17T16:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to Print to Specific Printer using PrintAndExport?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-print-to-specific-printer-using/m-p/477736#M12949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I laughed out loud when I read your second paragraph!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I realized I included the wrong link above - this is the link to the PrintActiveView sample.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/Sample_Print_active_view/0001000002ms000000/"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/Sample_Print_active_view/0001000002ms000000/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great rest of your day.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 17:06:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-print-to-specific-printer-using/m-p/477736#M12949</guid>
      <dc:creator>TereseRowekamp</dc:creator>
      <dc:date>2014-07-17T17:06:12Z</dc:date>
    </item>
  </channel>
</rss>

