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


Groups > comp.lang.postscript > #683

Re: Including the same EPS file multiple times in a PS

From Peter Davis <Peter.Davis@mathworks.com>
Newsgroups comp.lang.postscript
Subject Re: Including the same EPS file multiple times in a PS
Date 2012-05-15 09:58 -0400
Organization The MathWorks, Inc.
Message-ID <jotndv$bbc$1@newscl01ah.mathworks.com> (permalink)
References <alpine.DEB.2.02.1205142054530.20582@lili-Inspiron-1525> <jorkuo$q6h$1@reader1.panix.com> <alpine.DEB.2.02.1205142153070.21271@lili-Inspiron-1525> <a1ejr6F6epU1@mid.individual.net>

Show all headers | View raw


On 5/15/2012 4:52 AM, Helge Blischke wrote:
> kax@kax.org wrote:
>
>> On Mon, 14 May 2012, Rod Dorman wrote:
>>> What is your definition of "the best way"?
>>
>> Sorry for that; I think I have to explain further what I want to do.
>>
>> In fact I have a huge PS file (a big poster), and I want to make a PDF
>> booklet with A5 pages. Each of these A5 page should be a detail
>> (scale=100%) of the big poster. You may think to this project as an
>> exploration of the big poster. Once the big PS is ready, I would like to
>> make my booklet (either as a second PS file or a PDF file but anyway the
>> final version should be a PDF file, most certainly processed with ps2pdf),
>> with something like that:
>>
>>     %Page: 19
>>     -2000 -1345 translate
>>     <magic command for doing everything>
>>     showpage
>>     %Page: 20
>>     -1224 -945 translate
>>     <magic command for doing everything>
>>     showpage
>>
>> etc.
>>
>> I thought it would be very easy, but I can't manage to do it.
>>
>> Regards,
>>
>
> Well, as you obviously are using Ghostscript, there is a simple solution:
> store your EPS image(s) in an ordinary file and call it from within your
> PostScript job using the run operator, such as
> (/somedirectory/filename)run
>

You can also define a form which displays the EPS, and execute the form 
with various transforms.  *Some* PostScript interpreters will even 
attempt to cache the form so it can be reused without having to be 
re-interpreted.

-pd

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


Thread

Including the same EPS file multiple times in a PS kax@kax.org - 2012-05-14 20:56 +0200
  Re: Including the same EPS file multiple times in a PS rodd@panix.com (Rod Dorman) - 2012-05-14 19:03 +0000
    Re: Including the same EPS file multiple times in a PS Helge Blischke <h.blischke@acm.org> - 2012-05-14 21:31 +0200
    Re: Including the same EPS file multiple times in a PS kax@kax.org - 2012-05-14 21:59 +0200
      Re: Including the same EPS file multiple times in a PS bugbear <bugbear@trim_papermule.co.uk_trim> - 2012-05-15 09:52 +0100
      Re: Including the same EPS file multiple times in a PS Helge Blischke <h.blischke@acm.org> - 2012-05-15 10:52 +0200
        Re: Including the same EPS file multiple times in a PS Peter Davis <Peter.Davis@mathworks.com> - 2012-05-15 09:58 -0400
        Re: Including the same EPS file multiple times in a PS kax@kax.org - 2012-05-15 16:15 +0200
          Re: Including the same EPS file multiple times in a PS ken <ken@spamcop.net> - 2012-05-15 15:44 +0100
            Re: Including the same EPS file multiple times in a PS kax@kax.org - 2012-05-15 21:24 +0200

csiph-web