
With Snow Leopard, you now have a new PDF Workflow entry (the things in the “PDF” menu in the print dialog) called “Adobe PDF” which will convert the Apple-based PDF into an Adobe-based PDF using your supplied/chosen Job Options. It’s just as well, as that print path (of PDF->PS->PDF) is REALLY SLOW and full of a HUGE number of bugs for many years now that we couldn’t fix due to how the Apple printing system works ?. In a nutshell, Snow Leopard no longer supports the necessary OS features we need to install a Distiller-based printer. To quote Adobe PDF expert Leonard Rosenthol (as quoted in Steve Werner's InDesign Secrets post, referenced above): Use the "Save As Adobe PDF" option under "PDF" in the OS X print dialog. Remove the Adobe PDF Printer in OS X System Preferences (happens automatically on update/upgrade of Acrobat from 9.0). There is also an Adobe Tech Note on the subject. You can find detailed information and the workaround on the InDesign Secrets blog here. It is unclear to me why vbs can directly access the functions like that, such as in the example you linked.There was a change to the way OS X handles PDF, introduced in Snow Leopard, that changed (well, trashed) the standard Adobe Print to PDF workflow. and the Adobe Distiller allow anyone to create PDF files, it does require additional software, and a separate.

to work (maybe I missed something though.). Creating Adobe® Acrobat (PDF) Documents Directly from SAS® Softwaretm Paul Wehr, Industrial Softworks, Ann Arbor, MI. $jType.InvokeMember("extractPages", $extractPagesBFs, $null, $jsObject, $extractPagesParam) $extractPagesBFs = "InvokeMethod","Public","Instance" A brief snippet example: $jType = $jsObject.GetType() Oh, and btw I believe you need to change the way you invoke methods from the $jsObject, and use reflection. I could be wrong, and the issue lies somewhere else, but hopefully this helps someone, somewhere. I know you're not supposed to answer based on opinion, but that's my suspicion, and would explain (to me) why loading an older version of powershell works.

from the object to my heart's content, without the "does not fall within expected range" error being returned by GetType(). If I opened a command line prompt and initiated "powershell -version 2", the $jsObject was fine, and I can invoke extractPages, numPages, etc. I strongly suspect the issue is the way the com-object interfaces with PowerShell v5. I was doing this on a Windows 10 machine, with PowerShell v5.

In case anyone else winds up here, here is what ended up working for me, in this instance. Unfortunately, yours was the only relevant result that I could find and you never seemed to have gotten an answer.

I was trying to do some tasks in PowerShell involving Acrobat automation, ran into the same issue, and figured a trusty Google search would solve my issue for me. So, this is an old question, and you've probably either long since moved on from this, or figured it out.
