Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.postscript > #2320

Re: Can PostScript access the machine clock, expressed as a date and time?

From ken <ken@spamcop.net>
Newsgroups comp.lang.postscript
Subject Re: Can PostScript access the machine clock, expressed as a date and time?
Date 2015-08-15 12:11 +0100
Message-ID <MPG.30392ed7af4b66f3989900@usenet.plus.net> (permalink)
References <13dc49a5-e8f7-4609-a2ab-7e3a186abc3d@googlegroups.com>

Show all headers | View raw


In article <13dc49a5-e8f7-4609-a2ab-7e3a186abc3d@googlegroups.com>, 
jdawiseman@gmail.com says...
> 
> A PostScript file is written, and later distilled. I'd like the output to include the date and time of distillation. Can PostScript access the machine clock, expressed as a date and time? I'm not stressed whether local or GMT, but want at least one of them?
> 
> Please, is it possible, and if so, how?
> 
> The question applies to both Adobe Distiller and Ghostscript: a solution that works in one is better than no solution.

The %calendar% device, if implemented, might work, I don't recall what 
exactly it returns. However Since PostScript was originally intended for 
use on laser priners, the basic asnwer is no.

NB when creating a PDF file, both Ghostscript and Distiller already put 
the creation date and time in the PDF file, so the information is 
already present in the PDF file. Did you want it actually stamped on the 
pages of the PDF ?


		Ken

Back to comp.lang.postscript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Can PostScript access the machine clock, expressed as a date and time? jdaw1 <jdawiseman@gmail.com> - 2015-08-15 02:55 -0700
  Re: Can PostScript access the machine clock, expressed as a date and time? ken <ken@spamcop.net> - 2015-08-15 12:11 +0100
    Re: Can PostScript access the machine clock, expressed as a date and time? jdaw1 <jdawiseman@gmail.com> - 2015-08-15 04:36 -0700
      Re: Can PostScript access the machine clock, expressed as a date and time? jdaw1 <jdawiseman@gmail.com> - 2015-08-15 06:22 -0700
        Re: Can PostScript access the machine clock, expressed as a date and time? jdaw1 <jdawiseman@gmail.com> - 2015-08-15 11:24 -0700
          Re: Can PostScript access the machine clock, expressed as a date and time? jdaw1 <jdawiseman@gmail.com> - 2015-08-15 11:26 -0700
  Re: Can PostScript access the machine clock, expressed as a date and time? Martin Leese <please@see.Web.for.e-mail.INVALID> - 2015-08-15 11:23 -0600
    Re: Can PostScript access the machine clock, expressed as a date and time? jdaw1 <jdawiseman@gmail.com> - 2015-08-15 14:38 -0700
      Re: Can PostScript access the machine clock, expressed as a date and time? jdaw1 <jdawiseman@gmail.com> - 2015-08-16 04:58 -0700
        Re: Can PostScript access the machine clock, expressed as a date and time? Martin Leese <please@see.Web.for.e-mail.INVALID> - 2015-08-16 10:29 -0600
        Re: Can PostScript access the machine clock, expressed as a date and time? jdaw1 <jdawiseman@gmail.com> - 2015-12-08 06:13 -0800
          Re: Can PostScript access the machine clock, expressed as a date and time? jdaw1 <jdawiseman@gmail.com> - 2015-12-14 07:05 -0800

csiph-web