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 Touch seeded packages, which is subscribed to cairo in Ubuntu. https://bugs.launchpad.net/bugs/819995 Title: "Print to file" PDF metadata broken Status in cairo package in Ubuntu: Confirmed Bug description: Ubuntu 11.04 Natty Narwhal 64bit libgnomeprint2.2-0 - 2.18.8-0ubuntu1 It seems libgnomeprint sends wrong date, Jan 1st 1970 to PDF metadata when printing to file (PDF) This behaviour is reproducible for me on both 64bit and 32bit versions of 11.04 Using dialog "print to file" choosing PDF as output format "Creation Date" and "Last edited" is always set to "Thu 01 Jän 1970 00:59:59 CET" which is afaik Date 0 for Unices. I am using german localization but in case of needed screenshots I can of course change to english. This behaviour happens on my main machine (64bit) and my old notebook (32bit) looking to my self produced PDFs from 10.10 definitely show the same behaviour, I could also look on old backups for even older version. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/819995/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp