I have tried some solutions before i found this bug,

An extract of metadata made with exiftool (libimage-exiftool-perl
9.46-1) shows an important difference on a document that displaying
dates right, and one sample print-to-file, the tags for PDF related date
info is totally missing:

-PDF:CreateDate=
-PDF:ModifyDate=


Example command:
exiftool -args -G1 --filename --directory PDF_FILE_NAME.PDF

Example output of Print-to-File:
-ExifTool:ExifToolVersion=9.46
-System:FileSize=107 kB
-System:FileModifyDate=2018:02:22 00:56:18+01:00
-System:FileAccessDate=2018:02:22 00:56:40+01:00
-System:FileInodeChangeDate=2018:02:22 01:30:18+01:00
-System:FilePermissions=rw-rw-r--
-File:FileType=PDF
-File:MIMEType=application/pdf
-PDF:PDFVersion=1.5
-PDF:Linearized=No
-PDF:PageCount=1
-PDF:Creator=cairo 1.13.1 (http://cairographics.org)
-PDF:Producer=cairo 1.13.1 (http://cairographics.org)

Example output of PDF with working dates:
-ExifTool:ExifToolVersion=9.46
-System:FileSize=3.2 MB
-System:FileModifyDate=2015:11:02 14:37:59+01:00
-System:FileAccessDate=2018:02:22 01:49:42+01:00
-System:FileInodeChangeDate=2015:11:02 14:37:59+01:00
-System:FilePermissions=rw-r-----
-File:FileType=PDF
-File:MIMEType=application/pdf
-PDF:PDFVersion=1.5
-PDF:Linearized=No
-PDF:PageCount=89
-PDF:Language=en-US
-PDF:TaggedPDF=Yes
-PDF:Title=XenServer 6.x Best Practices
-PDF:Author=Daily, Camille
-PDF:Keywords=Minimum Restrictions, No Restrictions
-PDF:Creator=Microsoft® Word 2013
-PDF:CreateDate=2013:10:30 08:44:27-05:00
-PDF:ModifyDate=2013:10:30 08:44:27-05:00
-PDF:Producer=Microsoft® Word 2013



evince 3.10.3-0ubuntu10.4 amd64
libcairo2 1.13.0~20140204-0ubuntu1.1 amd64
Description:    Ubuntu 14.04.5 LTS
Kernel: Linux 3.13.0-142-generic #191-Ubuntu SMP x86_64

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/819995

Title:
  "Print to file" PDF metadata broken

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/819995/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to