<?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: iLogic Printing - another one. in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-printing-another-one/m-p/6220033#M62452</link>
    <description>&lt;P&gt;Seriously......&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A simple sytax error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;oPrintMgr.Scale = 0.5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All fixed now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Dim oDrawDoc As Document
oDrawDoc = ThisApplication.ActiveDocument
 
 
 Dim oPrintMgr As PrintManager
 oPrintMgr = oDrawDoc.PrintManager
 'specify your printer name
 oPrintMgr.Printer = "Canon iR2520 UFRII LT"

oPrintMgr.ColorMode = kPrintDefaultColorMode
oPrintMgr.Orientation = kLandscapeOrientation
oPrintMgr.PaperSize = PaperSizeEnum.kPaperSizeA3
oPrintMgr.Scalemode = 13827
oPrintMgr.Scale = 0.5
oPrintMgr.SubmitPrint&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Mar 2016 04:57:11 GMT</pubDate>
    <dc:creator>rhasell</dc:creator>
    <dc:date>2016-03-17T04:57:11Z</dc:date>
    <item>
      <title>iLogic Printing - another one.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-printing-another-one/m-p/6219995#M62449</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been trying to create a printing rule, I print half size (Scale 0.5) to hard copy printer and full size (Scale 1:1) to PDF.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At this stage I am still with the Hard copy printer and I am unable to set the custom scale.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used existing code found on the forum, and have been trying to adjust it to suit my requirements.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see I have tried various options of changing the scale, but regardless it still prints to fit. (I commented out the scale to fit)&lt;/P&gt;&lt;P&gt;Hopefully it's just a syntax error?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Existing code:&lt;/P&gt;&lt;PRE&gt;Dim oDrawDoc As Document
oDrawDoc = ThisApplication.ActiveDocument
 
 
 Dim oPrintMgr As PrintManager
 oPrintMgr = oDrawDoc.PrintManager
 'specify your printer name
 oPrintMgr.Printer = "Canon iR2520 UFRII LT"

oPrintMgr.ColorMode = kPrintDefaultColorMode
oPrintMgr.Orientation = kLandscapeOrientation
oPrintMgr.PaperSize = PaperSizeEnum.kPaperSizeA3
oPrintMgr.Scalemode = kCustomScale
oPrintMgr.ScaleMode = PrintScaleModeEnum.kPrintBestFitScale

''Testing for scale
'oPrintMgr.Scale = 0.5
'.Scale = 0.5
'oPrintMgr.ScaleMode = PrintScaleModeEnum.scale=0.5

oPrintMgr.SubmitPrint&lt;/PRE&gt;&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/225242i9FF8783A385905ED/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="printer scale.JPG" title="printer scale.JPG" border="0" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks guys.&lt;/P&gt;&lt;P&gt;Hopefully the PDF print is easier, as its a 1:1 print.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2016 03:33:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-printing-another-one/m-p/6219995#M62449</guid>
      <dc:creator>rhasell</dc:creator>
      <dc:date>2016-03-17T03:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic Printing - another one.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-printing-another-one/m-p/6220013#M62450</link>
      <description>&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Solved, if it helps someone, hit the Kudos button.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Dim oDrawDoc As Document
oDrawDoc = ThisApplication.ActiveDocument
 
 
 Dim oPrintMgr As PrintManager
 oPrintMgr = oDrawDoc.PrintManager
 'specify your printer name
 oPrintMgr.Printer = "Canon iR2520 UFRII LT"

oPrintMgr.ColorMode = kPrintDefaultColorMode
oPrintMgr.Orientation = kLandscapeOrientation
oPrintMgr.PaperSize = PaperSizeEnum.kPaperSizeA3
oPrintMgr.Scalemode = 13827 'Custom Scale
oPrintMgr.ScaleMode = "0.5"
oPrintMgr.SubmitPrint&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The PDF was easy as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Dim oDrawDoc As Document
oDrawDoc = ThisApplication.ActiveDocument
 
 
 Dim oPrintMgr As PrintManager
 oPrintMgr = oDrawDoc.PrintManager
 'specify your printer name
 oPrintMgr.Printer = "PrimoPDF"

oPrintMgr.ColorMode = kPrintDefaultColorMode
oPrintMgr.Orientation = kLandscapeOrientation
oPrintMgr.PaperSize = PaperSizeEnum.kPaperSizeA1
oPrintMgr.Scalemode = 13825 'Full Scale print @1:1
oPrintMgr.SubmitPrint&lt;/PRE&gt;</description>
      <pubDate>Thu, 17 Mar 2016 04:03:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-printing-another-one/m-p/6220013#M62450</guid>
      <dc:creator>rhasell</dc:creator>
      <dc:date>2016-03-17T04:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic Printing - another one.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-printing-another-one/m-p/6220027#M62451</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It appears I was a little ahead of myself there, After restarting inventor, the Printer scale went back to "1"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It still changed to custom scale, but just set the scale value to "1" and not "0.5"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I guess it s still not working?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2016 04:37:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-printing-another-one/m-p/6220027#M62451</guid>
      <dc:creator>rhasell</dc:creator>
      <dc:date>2016-03-17T04:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic Printing - another one.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-printing-another-one/m-p/6220033#M62452</link>
      <description>&lt;P&gt;Seriously......&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A simple sytax error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;oPrintMgr.Scale = 0.5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All fixed now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Dim oDrawDoc As Document
oDrawDoc = ThisApplication.ActiveDocument
 
 
 Dim oPrintMgr As PrintManager
 oPrintMgr = oDrawDoc.PrintManager
 'specify your printer name
 oPrintMgr.Printer = "Canon iR2520 UFRII LT"

oPrintMgr.ColorMode = kPrintDefaultColorMode
oPrintMgr.Orientation = kLandscapeOrientation
oPrintMgr.PaperSize = PaperSizeEnum.kPaperSizeA3
oPrintMgr.Scalemode = 13827
oPrintMgr.Scale = 0.5
oPrintMgr.SubmitPrint&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2016 04:57:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-printing-another-one/m-p/6220033#M62452</guid>
      <dc:creator>rhasell</dc:creator>
      <dc:date>2016-03-17T04:57:11Z</dc:date>
    </item>
  </channel>
</rss>

