On Samstag, 27. Februar 2021 08:43:57 CET Jan Engelhardt wrote:
On Saturday 2021-02-27 07:34, Bernhard M. Wiedemann
dvipdf manual.dvi manual.pdf
Generates <xmp:CreateDate>, <xmp:ModifyDate> and
Cause is ghostscript:/devices/vector/gdevpdfe.c not honoring
SOURCE_BUILD_TIME or any of the other mechanisms.
The corresponding GS upstream report has been closed (and patch rejected) with
CreateDate and ModifyDate can be overridden, see
- should be possible
to hack this into dvips/dvipdf by using SOURCE_DATE_EPOCH for these dates.
That leaves you with the DocumentId/InstanceId. You can override these on the
command line, but it is somewhat difficult to put "correct" values there. It
should be a unique value, and I imagine there are quite some packages which
use "manual.dvi" or "doc.dvi", so the filename is insufficient.
According to the PDF specification (PDF 32000-1:2008, 7.5.5 File Trailer), the
IDs are optional:
ID | array | (Required if an Encrypt entry is present;
PDF 1.1) An array of two byte-strings constituting a file
14.4, "File Identifiers") for the file. If there is an Encrypt entry this
array and the two byte-strings shall be direct objects and shall be
NOTE 1 (...)
NOTE 2 Although this entry is optional, its absence might prevent the file
functioning in some workflows that depend on files being uniquely
Unfortunately, AFAIK you can't tell GS to omit the IDs.
Stefan Brüns / Bergstraße 21 / 52062 Aachen
home: +49 241 53809034 mobile: +49 151 50412019