read pdf document properties from terminal as seen in nautilus

From the terminal I would like to be access the data that is readable when right clicking on a pdf file and selecting "document". example

I have tried reading metadata with tools such as mminfo and pdftk but some files are password protected so they can't show me the meta data.

Help appreciated.


Solution 1:

You can use the program pdfinfo from the package poppler-utils. For font information you can use pdffonts from the same package.