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


Groups > comp.lang.postscript > #607

Re: getting system information from a PS program

From Helge Blischke <h.blischke@acm.org>
Newsgroups comp.lang.postscript
Subject Re: getting system information from a PS program
Followup-To comp.lang.postscript
Date 2012-02-02 18:16 +0100
Message-ID <9ovuoaF758U1@mid.individual.net> (permalink)
References (3 earlier) <9o5gj6Fg78U1@mid.individual.net> <9o87h2F8tgU1@mid.individual.net> <jfpnei$8te$1@news.albasani.net> <9odf8eFuk1U4@mid.individual.net> <jgeb4i$46s$1@news.albasani.net>

Followups directed to: comp.lang.postscript

Show all headers | View raw


Marc Olschok wrote:

> Michael Unger <spam.to.unger@spamgourmet.com> wrote:
>> On 2012-01-25 21:07, "Marc Olschok" wrote:
>>[...]
>> > (%Calendar%) currentdevparams
>> > /Year get 4 string cvs show
>> > 
>> > should do what you want
>> 
>> It doesn't because there is no "calendar device" available. See my reply
>> to Helge's posting.
> 
> I see. Ghostscript under Linux actually uses the time/2 system call for
> this and recently I had the chance to try it on Windows and it works also
> there. Can you provide (String) parameters to the program you use, similar
> to
> e.g.   gs -sDate="`date`"  from the commandline? This would provide some
> workaround.
> 

Yes, that works, at least with Ghostscript:

gs -dNODISPLAY -sDate="`date`"
GPL Ghostscript 9.02 (2011-03-30)
Copyright (C) 2010 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
GS>Date == flush
(Do  2 Feb 2012 18:16:21 CET)
GS>


Helge

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


Thread

getting system information from a PS program Michael Unger <spam.to.unger@spamgourmet.com> - 2012-01-19 19:01 +0100
  Re: getting system information from a PS program SaGS <sags5495@gmail.com> - 2012-01-19 11:05 -0800
    Re: getting system information from a PS program SaGS <sags5495@gmail.com> - 2012-01-21 07:03 -0800
      Re: getting system information from a PS program Michael Unger <spam.to.unger@spamgourmet.com> - 2012-01-23 17:16 +0100
        Re: getting system information from a PS program Michael Unger <spam.to.unger@spamgourmet.com> - 2012-01-24 17:33 +0100
          Re: getting system information from a PS program Odysseus <odysseus1479-at@yahoo-dot.ca> - 2012-01-24 18:10 -0700
            Re: getting system information from a PS program tlvp <mPiOsUcB.EtLlLvEp@att.net> - 2012-01-25 04:57 -0500
            Re: getting system information from a PS program Michael Unger <spam.to.unger@spamgourmet.com> - 2012-01-25 17:39 +0100
              Re: getting system information from a PS program Helge Blischke <h.blischke@acm.org> - 2012-01-25 18:08 +0100
                Re: getting system information from a PS program Michael Unger <spam.to.unger@spamgourmet.com> - 2012-01-26 17:52 +0100
              Re: getting system information from a PS program SaGS <sags5495@gmail.com> - 2012-01-25 11:27 -0800
                Re: getting system information from a PS program Michael Unger <spam.to.unger@spamgourmet.com> - 2012-01-26 17:55 +0100
          Re: getting system information from a PS program Marc Olschok <nobody@nowhere.invalid> - 2012-01-25 20:07 +0000
            Re: getting system information from a PS program Michael Unger <spam.to.unger@spamgourmet.com> - 2012-01-26 17:57 +0100
              Re: getting system information from a PS program Marc Olschok <nobody@nowhere.invalid> - 2012-02-02 15:46 +0000
                Re: getting system information from a PS program Helge Blischke <h.blischke@acm.org> - 2012-02-02 18:16 +0100
                Re: getting system information from a PS program Michael Unger <spam.to.unger@spamgourmet.com> - 2012-02-02 21:52 +0100
                Re: getting system information from a PS program luser- -droog <mijoryx@yahoo.com> - 2012-02-04 20:15 -0800
    Re: getting system information from a PS program Michael Unger <spam.to.unger@spamgourmet.com> - 2012-01-23 17:26 +0100
      Re: getting system information from a PS program SaGS <sags5495@gmail.com> - 2012-01-23 12:18 -0800
        Re: getting system information from a PS program Michael Unger <spam.to.unger@spamgourmet.com> - 2012-01-24 17:46 +0100
  Re: getting system information from a PS program bonomi@host122.r-bonomi.com (Robert Bonomi) - 2012-01-23 03:26 -0600
    Re: getting system information from a PS program Michael Unger <spam.to.unger@spamgourmet.com> - 2012-01-23 17:31 +0100

csiph-web