<?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: PDF printing using VBA in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/pdf-printing-using-vba/m-p/9691602#M4290</link>
    <description>&lt;P&gt;Hi Ed.Jobe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When the document open, it opens in the "Adobe Acrobat DC" . Can you please help me with "Adobe Acrobat DC" API's to print PDF file?&lt;/P&gt;</description>
    <pubDate>Fri, 14 Aug 2020 13:35:20 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-08-14T13:35:20Z</dc:date>
    <item>
      <title>PDF printing using VBA</title>
      <link>https://forums.autodesk.com/t5/vba-forum/pdf-printing-using-vba/m-p/9682390#M4286</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to VBA. I need help to write VBA code in AutoCAD'18 to print PDF file which is store stored on my PC, by setting the following parameters of printer,&lt;/P&gt;&lt;P&gt;1. Printer name&lt;/P&gt;&lt;P&gt;2. Orientation&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Paper size (A3/A4)&lt;/P&gt;&lt;P&gt;4. Print on both sides of paper (either Flip on long edge or Flip on short edge)&lt;/P&gt;&lt;P&gt;5. Pages to print (All)&lt;/P&gt;&lt;P&gt;Can someone please help me to get the VBA code for above requirement? Your help is highly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 13:12:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/pdf-printing-using-vba/m-p/9682390#M4286</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-10T13:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: PDF printing using VBA</title>
      <link>https://forums.autodesk.com/t5/vba-forum/pdf-printing-using-vba/m-p/9685209#M4287</link>
      <description>&lt;P&gt;This is an old subject. If you search this forum for "plot" or "plotconfig", you should find plenty of code samples.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2020 14:50:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/pdf-printing-using-vba/m-p/9685209#M4287</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2020-08-11T14:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: PDF printing using VBA</title>
      <link>https://forums.autodesk.com/t5/vba-forum/pdf-printing-using-vba/m-p/9689154#M4288</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have written the following code, which I expect to open the PDF file and send it to printer. It is opening the PDF file, but printer code is not working. can Someone Please help me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sub PrintPDFFile()&lt;/P&gt;&lt;P&gt;Dim ObjShell As Object&lt;BR /&gt;Dim path As String&lt;BR /&gt;Dim DrgPrintMgr As Printer&lt;/P&gt;&lt;P&gt;path = "C:\Users\Desktop\Print\L00G92N-T.pdf"&lt;BR /&gt;Set ObjShell = CreateObject("Shell.Application")&lt;BR /&gt;ObjShell.Open (path)&lt;/P&gt;&lt;P&gt;With ObjShell&lt;BR /&gt;Set DrgPrintMgr = File.PrintManager&lt;BR /&gt;With DrgPrintMgr&lt;BR /&gt;.Printer = "\\pu3insvns01\PU3INP01"&lt;BR /&gt;.AllColorsAsBlack = True&lt;BR /&gt;.ColorMode = kPrintGrayScale&lt;BR /&gt;'.ScaleMode = kPrintBestFitScale&lt;BR /&gt;.PaperSize = kvbPRPSA3&lt;BR /&gt;'.PaperSize = [vbPRPSA4]&lt;BR /&gt;.PrintRange = kPrintAllSheets&lt;BR /&gt;.Orientation = kLandscapeOrientation&lt;BR /&gt;.RemoveLineWeights = False&lt;BR /&gt;.SubmitPrint&lt;BR /&gt;End With&lt;BR /&gt;End With&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;</description>
      <pubDate>Thu, 13 Aug 2020 11:10:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/pdf-printing-using-vba/m-p/9689154#M4288</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-13T11:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: PDF printing using VBA</title>
      <link>https://forums.autodesk.com/t5/vba-forum/pdf-printing-using-vba/m-p/9689598#M4289</link>
      <description>&lt;P&gt;What library does your project reference that has a PrintManage object? You use a File object but don't set an instance of it. When the file opens, what program does it open in? You need to use that program's api (if it has one) to print the file.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Aug 2020 14:38:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/pdf-printing-using-vba/m-p/9689598#M4289</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2020-08-13T14:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: PDF printing using VBA</title>
      <link>https://forums.autodesk.com/t5/vba-forum/pdf-printing-using-vba/m-p/9691602#M4290</link>
      <description>&lt;P&gt;Hi Ed.Jobe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When the document open, it opens in the "Adobe Acrobat DC" . Can you please help me with "Adobe Acrobat DC" API's to print PDF file?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Aug 2020 13:35:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/pdf-printing-using-vba/m-p/9691602#M4290</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-14T13:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: PDF printing using VBA</title>
      <link>https://forums.autodesk.com/t5/vba-forum/pdf-printing-using-vba/m-p/9695304#M4291</link>
      <description>&lt;P&gt;I checked and Reader doesn't have an api. If you bought the pro version it &lt;EM&gt;might&lt;/EM&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Aug 2020 14:57:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/pdf-printing-using-vba/m-p/9695304#M4291</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2020-08-17T14:57:06Z</dc:date>
    </item>
  </channel>
</rss>

