Added subject to pdf info command

This commit is contained in:
John Schember 2009-03-29 10:20:21 -04:00
parent 9e15e48588
commit 1ed9efeb39

View File

@ -35,6 +35,7 @@ def print_info(pdf_path):
pdf = PdfFileReader(pdf_file)
print _('Title: %s' % pdf.documentInfo.title)
print _('Author: %s' % pdf.documentInfo.author)
print _('Subject: %s' % pdf.documentInfo.subject)
print _('Creator: %s' % pdf.documentInfo.creator)
print _('Producer: %s' % pdf.documentInfo.producer)
print _('Creation Date: %s' % time.strftime('%a %b %d %H:%M:%S %Y', time.gmtime(os.path.getctime(pdf_path))))