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


Groups > comp.lang.postscript > #582

Re: getting system information from a PS program

From Michael Unger <spam.to.unger@spamgourmet.com>
Newsgroups comp.lang.postscript
Subject Re: getting system information from a PS program
Date 2012-01-23 17:31 +0100
Organization not that I'm aware of ...
Message-ID <9o5gj7Fg78U3@mid.individual.net> (permalink)
References <9nr4ecF33kU1@mid.individual.net> <fYadnWFvDeQiuoDSnZ2dnUVZ_oadnZ2d@posted.nuvoxcommunications>

Show all headers | View raw


On 2012-01-23 10:26, "Robert Bonomi" wrote:

> In article <9nr4ecF33kU1@mid.individual.net>,
> Michael Unger  <2012Q1.usenet.michaelunger@spamgourmet.org> wrote:
> 
> [...]
> 
>>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.

Well, it's "carefully hand-crafted" PostScript code -- so there isn't a
"program", it's just me and an ASCII editor. The file is processed
finally by Adobe's Distiller to generate a PDF document.

>>(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* ?

JPEG iamges converted to EPS [1], located on the local hard disk drive;
"C:\temp\DSC*.eps" for example. (I'm aware that a backslash is a
"special character" within PostScript and has to be replaced by a
"forward slash" when specifying file names.)

>>(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.

Most probably I will implement the "shaker sort" algorithm.

Michael


[1] <http://www.pdflib.com/download/free-software/jpeg2ps/>

-- 
Real names enhance the probability of getting real answers.
My e-mail account at DECUS Munich is no longer valid.

Back to comp.lang.postscript | Previous | NextPrevious 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