Re: ps2pdf: why differences in different instances using unchanged PS source file

2020-12-16 Thread David Wright
On Tue 15 Dec 2020 at 11:06:33 (+1300), David Warring wrote: > On Mon, Dec 14, 2020 at 10:14 AM Tom Browder wrote: > > On Sun, Dec 13, 2020 at 11:03 The Wanderer wrote: > > > On 2020-12-13 at 11:40, Tom Browder wrote: > > > > personalized calendar for my wife. This year I have been cleaning up >

Re: ps2pdf: why differences in different instances using unchanged PS source file

2020-12-14 Thread Tom Browder
On Mon, Dec 14, 2020 at 4:36 PM Tom Browder wrote: > On Mon, Dec 14, 2020 at 16:06 David Warring wrote: >> Hi Tom, >> Yes quite right. As The Wanderer points out the CreationDate and ModDate >> differ, as do the uuid in the Catalog Metadatas and the trailer ID. ... > David, thanks! I knew you

Re: ps2pdf: why differences in different instances using unchanged PS source file

2020-12-14 Thread Tom Browder
On Mon, Dec 14, 2020 at 16:06 David Warring wrote: > This gist > https://gist.github.com/dwarring/1e4e056d84d6fe125262bba1da1f58fb does > this using the Raku PDF module. Usage is: > > p2s2pdf-strip.raku in.pdf [out.pdf] # post-process ps2pdf output > I can't read the fancy chars being

Re: ps2pdf: why differences in different instances using unchanged PS source file

2020-12-14 Thread Tom Browder
On Mon, Dec 14, 2020 at 16:06 David Warring wrote: > Hi Tom, > Yes quite right. As The Wanderer points out the CreationDate and ModDate > differ, as do the uuid in the Catalog Metadatas and the trailer ID. > ... > David, thanks! I knew you could do some fancy PDF hackery. I look forward to

Re: ps2pdf: why differences in different instances using unchanged PS source file

2020-12-14 Thread David Warring
Hi Tom, Yes quite right. As The Wanderer points out the CreationDate and ModDate differ, as do the uuid in the Catalog Metadatas and the trailer ID. I've found that deleting the optional dates from the Info dictionary, the Metadata entry from the Catalog and resetting the ID does seem to be

Re: ps2pdf: why differences in different instances using unchanged PS source file

2020-12-13 Thread Tom Browder
On Sun, Dec 13, 2020 at 11:03 The Wanderer wrote: > On 2020-12-13 at 11:40, Tom Browder wrote: > > personalized calendar for my wife. This year I have been cleaning up > > my old Perl generating code (in preparation for converting it to Raku > > [https://raku.org]) and noticed I am getting a

Re: ps2pdf: why differences in different instances using unchanged PS source file

2020-12-13 Thread The Wanderer
On 2020-12-13 at 12:03, The Wanderer wrote: > ps2pdf appears to be part of ghostscript. Neither its man page nor the > one for 'gs' (which it references) seem to contain any options for > setting these timestamps, preventing their creation, or doing similarly > with that UUID. > > > The Debian

Re: ps2pdf: why differences in different instances using unchanged PS source file

2020-12-13 Thread The Wanderer
On 2020-12-13 at 11:40, Tom Browder wrote: > I have been using ps2pdf for many years on a PS source file for a > personalized calendar for my wife. This year I have been cleaning up > my old Perl generating code (in preparation for converting it to Raku > [https://raku.org]) and noticed I am

ps2pdf: why differences in different instances using unchanged PS source file

2020-12-13 Thread Tom Browder
I have been using ps2pdf for many years on a PS source file for a personalized calendar for my wife. This year I have been cleaning up my old Perl generating code (in preparation for converting it to Raku [https://raku.org]) and noticed I am getting a different pdf output for each run, even when