Any Pdfinfo -terminal tool in OS X?
Just get Xpdf 3.04 from foolabs.

If your current system is Yosemite get the precompiled binaries: xpdfbin-mac-3.04. The 64-bit installer available there doesn't work. Uncompress/Untar the tar.gz and install this binary package manually:


Copy the 64-bit executables (xpdf, pdftotext, etc.) to to /usr/local/bin.
Copy the man pages (*.1 and *.5) to /usr/local/man/man1 and
/usr/local/man/man5.
Copy the sample-xpdfrc file to /usr/local/etc/xpdfrc.  You'll
probably want to edit its contents (as distributed, everything is
commented out) -- see xpdfrc(5) for details.


Check your $PATH if the executables don't work.

If your current system is Mavericks, Mountain Lion or Lion the above-mentioned 64-bit installer should work.

Now continue like Matteo mentioned:

To extract it with pdfinfo:

pdfinfo file.pdf | grep ^Producer