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


Groups > comp.lang.postscript > #579

Re: getting system information from a PS program

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.posted.nuvoxcommunications!news.posted.nuvoxcommunications.POSTED!not-for-mail
NNTP-Posting-Date Mon, 23 Jan 2012 03:26:23 -0600
Newsgroups comp.lang.postscript
References <9nr4ecF33kU1@mid.individual.net>
Organization Gizmos & Gadgets, Ltd.
Subject Re: getting system information from a PS program
X-Newsreader trn 4.0-test77 (Sep 1, 2010)
From bonomi@host122.r-bonomi.com (Robert Bonomi)
Originator bonomi@host122.r-bonomi.com (Robert Bonomi)
Message-ID <fYadnWFvDeQiuoDSnZ2dnUVZ_oadnZ2d@posted.nuvoxcommunications> (permalink)
Date Mon, 23 Jan 2012 03:26:23 -0600
Lines 35
X-Usenet-Provider http://www.giganews.com
NNTP-Posting-Host 204.87.227.120
X-Trace sv3-ajwXPoaLatbw+cibxE4ugacb6ED7Lpid6jcYYWd6niUfsrSzJF8d2/tLha5al+X9b2fDuSvt3WTVC9W!BFWK2ZDlSz+zPKgzqfQbqHig7GGS0sj544f9wHMpnVNVaXX8blQFBDECGJYQugVb7fOOB6MVrQFK!TDmRoeI/o5TYtIKPsRfBdOd7hkOmxJaXp/Cmz72G1EEq
X-Abuse-and-DMCA-Info Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info Otherwise we will be unable to process your complaint properly
X-Postfilter 1.3.40
X-Original-Bytes 2466
Xref x330-a1.tempe.blueboxinc.net comp.lang.postscript:579

Show key headers only | View raw


In article <9nr4ecF33kU1@mid.individual.net>,
Michael Unger  <2012Q1.usenet.michaelunger@spamgourmet.org> wrote:
>I'd like to get some system information from within a PostScript program.
>
>(1) The name of the PostScript program currently being executed; "file"
>and "currentfile" do return an _object_ instead of a simple file _name_.

You can't.  Postscript programs don't have 'names' -- they are just a
stream of bytes. 

>(2) A reasonable system timestamp, i.e. a combination of system date and
>time; "realtime" and "usertime" don't seem to be of any use here.

Sorry, it doesn't exist.  Postscript doesn't know absolute dates. just
clock-ticks since it it was last started/restarted.

>I want to print this information as a decent comment onto each page
>generated by the program.

You do this in the program that -generates- the postscript.

>(3) An array filled with file names, the full path and a template for
>the file names are known; "filenameforall" doesn't help much because
>there are many parameters depending on parts of the file name and a
>specific order has to be observed as well.

_what_ filenames, located *where* ?

>(4) Getting an array sorted (ASCII, ascending). I didn't find any
>PostScript operator related to this issue at all.

Nope. no operator.  You'll have to write a procedure to do it.


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