1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

AcroPDF.dll equivalent dylib

Discussion in 'Mac Programming' started by chidambaram, Mar 2, 2009.

  1. macrumors member

    #1
    hi,

    What is the equivalent dylib in MAC machine for AcroPDF.dll in PC?

    My requirement is i want to find the version of acrobat in my machine using PHP?

    how can i do this?

    Thanks in advance...
     
  2. macrumors 68020

    Jethryn Freyman

    #2
    If you want to open PDF files, you can use Preview, which is built into OS X.
     
  3. macrumors member

    #3
    Thanks for ur reply...

    My requirement is i want to know the version of adobe acrobat which is installed in my system using PHP.The following code works fine for Firefox in PC.
    But for Mac this code shows undefined. What can i do for this?


    <coding>function OtherPDFVersion()
    {
    var version = null;
    var plugin = navigator.plugins["Adobe Acrobat"];
    if (plugin == null) return null;
    if (plugin.description == "Adobe PDF Plug-In For Firefox and Netscape")
    {
    version = '8.0';
    }
    else
    {
    version = plugin.description.split('Version ')[1] + '.0';
    }
    // return version;
    alert(version);
    }


    </coding>
     
  4. macrumors 6502

    ElectricSheep

    #4
    There is very little need for most users to have any Acrobat PDF plugin installed. PDF support is built directly into the Graphics sub-system of Mac OS X. Safari doesn't need to use a plugin to render PDFs, and there is a small plugin for Firefox that leverages the same ability.
     
  5. macrumors member

    #5
    My requirement is i want to know the version of adobe acrobat which is installed in my system using PHP.The following code works fine for Firefox in PC.
    But for Mac this code shows undefined. What can i do for this?


    Can't you just use phpinfo(), which (at least on my Vista machine running xammpp here at work) reads the pdf version as one of the output groups?
     

Share This Page