Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!tank!eecae!netnews.upenn.edu!kings.wharton.upenn.edu!lau
From: lau@kings.wharton.upenn.edu (Yan K. Lau)
Newsgroups: comp.lang.postscript
Subject: Re: Printing Postscript on multiple
Message-ID: <13724@netnews.upenn.edu>
Date: 16 Aug 89 18:51:48 GMT
References: <4077@shlump.nac.dec.com> <147500003@upba>
Sender: news@netnews.upenn.edu
Reply-To: lau@kings.wharton.upenn.edu (Yan K. Lau)
Organization: A Private Heaven
Lines: 37

In article <147500003@upba> don@upba.UUCP writes:
>
>/* Written  2:09 pm  Aug 15, 1989 by batcheldern@level.dec.com.UUCP in upba:comp.lang.postscript */
>In general, there is no simple thingy that you can put at the top of any
>PostScript file to get it to print on multiple pages.
                                   ^^^^
>
>	If I am understanding you right, all you want to do is make several
>	copies of the file to print one right after the other without waiting
>	for the file to execute again, right?

I think you are wrong.  I think the question is how to print something on
several pages when it doesn't fit on one page.  The PostScript tutorial
has a nice example for doing this.  However, as I have found out and
others have pointed out, the entire procedure must fit in memory.  It is
actually called each time for each portion of the picture, moving the
origin and clipping the region.  I haven't found a way to get around the
memory problems and would like to hear any solutions others have thought
off.
>
>	If so try putting this line in just before the showpage and see if
>	it works. 
>
>	1 1 # { copypage } for
>
>	# being one less than the number of copies that you want printed.

Actually, there is a simpler way to do this.  Just use the implicit
#copies parameter for showpage, e.g. /#copies  def.


Yan.
---
      Yan K. Lau                    + the last message of a newgroup will be:
   )~                               +   a) longer than one screen &
 ~/~  lau@scrolls.wharton.upenn.edu +   b) something you're not interested in.
 /\   University of Pennsylvania    + your decision, 'n' key or space bar?