0

I installed a PDF Printer on Linux Ubuntu version,so whenever i print any document the PDF Printer generates the .PDF file,Now I wants to find out the metadata of the generated pdf file when i will give print to any document.Is there any chance,please let me know.

Thanks, Srinivas

closed as unclear what you're asking by muru, Rmano, g_p, karel, Eric Carvalho Jan 21 '15 at 16:44

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • possible duplicate of Which is the best PDF metadata viewer for Ubuntu? – karel Jan 21 '15 at 12:51
  • my question is when i click on "print" button the pdf printer generates the .pdf files at same time i wants to generate the metadata of that generated pdf when i click on "print" button – Srinivas B Jan 22 '15 at 9:16
  • If you can view the pdf data, then copy the metadata into LibreOffice Writer and save it as a pdf document. Then install PDF-Shuffler from the Ubuntu Software Center and merge the original pdf and the pdf metadata together into a new combined pdf. PDF-Shuffler treats each pdf page as a card in a deck of cards, and you can deal the "cards" in any order by dragging them around. Then print the new combined pdf document. I hope this helps. – karel Jan 22 '15 at 10:31
  • how i can merge that two pdf's,i installed pdftk still it is not working – Srinivas B Jan 22 '15 at 12:47
  • pdftk is the hard way to merge PDFs. Try PDF-Shuffler instead of pdftk, it's much easier. To add a new pdf document in PDF-Shuffler, just click on the green plus sign. – karel Jan 22 '15 at 12:49
1

You can use pdfinfo from Terminal:

pdfinfo MyThesis.pdf

You will get results like this:

Title:          Analysis of Markov chains
Subject:        
Keywords:       thesis, masters, cal poly
Author:         **************
Creator:        LaTeX with hyperref package
Producer:       pdfTeX-1.40.14
CreationDate:   Tue Jun 10 21:44:48 2014
ModDate:        Tue Jun 10 21:44:48 2014
Tagged:         no
Form:           none
Pages:          99
Encrypted:      no
Page size:      612 x 792 pts (letter)
Page rot:       0
File size:      10321297 bytes
Optimized:      no
PDF version:    1.5

(If you are using cups-pdf you can run an automated postprocessing command by uncommenting and editing cups-pdf.conf's "PostProcessing" section. Since the question is unclear about this part, I cannot give more details.)

  • Hi Frantique above command is working good through terminal,but i want whenever i will give print any document it will genertes the .pdf and at the same time i want metadata of that pdf file. – Srinivas B Jan 21 '15 at 10:23
  • @SrinivasB So you want to print out the data that pdfinfo gives you? Just do that then. Perhaps pdfinfo MyThesis.pdf > infofile then print infofile – Xen2050 Jan 21 '15 at 10:29
  • @Xen2050 thats good,but i want when i click on print button generate metadata of that .pdf also – Srinivas B Jan 21 '15 at 10:40
  • @SrinivasB: see revised answer. – Frantique Jan 21 '15 at 12:26
  • @ Frantique where i a can find this cups-pdf.conf's "PostProcessing" in ubuntu – Srinivas B Jan 21 '15 at 13:40

Not the answer you're looking for? Browse other questions tagged or ask your own question.