home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / postscri / 6068 < prev    next >
Encoding:
Text File  |  1992-12-22  |  2.0 KB  |  56 lines

  1. Newsgroups: comp.lang.postscript
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!menudo.uh.edu!nuchat!leeweyr!bill
  3. From: bill@leeweyr.sccsi.com (Bill Lee)
  4. Subject: Re: Break down drawing larger than pagesize ?
  5. Message-ID: <1992Dec22.025320.5909@leeweyr.sccsi.com>
  6. Organization: Lee Aerie
  7. References: <BzIK8M.6yB@newsserver.technet.sg> <1h4rslINNl4f@CS.UTK.EDU> <1992Dec21.171203.29295@cs.brown.edu>
  8. Date: Tue, 22 Dec 1992 02:53:20 GMT
  9. Lines: 45
  10.  
  11. In article <1992Dec21.171203.29295@cs.brown.edu> jgm@cs.brown.edu (Jonathan Monsarrat) writes:
  12. >
  13. >>Has anyone ever done a program (be it postscript or a tool creating
  14. >>postscript), that can draw on an (infinitely large) virtual page, then
  15. >>break it down into an acceptable size (say the printer's default),
  16. >
  17. >Here's a hack that may be of use to you. I've used it to create
  18. >posters 18 feet high! :)
  19. >
  20. >Right now it's set to print "normal size" -- just one page.
  21. >
  22. >-Jon
  23. >
  24.     (Another of Jon's Obfuscated PostScript figures deleted) 8-{)
  25.  
  26.  
  27. Has anybody been able to answer this question in general?
  28.  
  29. I do not believe this can be done in most PostScript interpreters for an
  30. ARBITRARY image. 
  31.  
  32. The basic premise of the example in the Blue Book is to build a procedure
  33. that captures the page's imaging code, then repetitively translate
  34. the origin around and re-image the entire picture but only printing
  35. a single page-worth of it.
  36.  
  37. Obviously this works. That is until the PostScript code which represents
  38. the image gets so large that it overflows the stack, or some other 
  39. implementation limit is reached. Then it DOESN'T work.
  40.  
  41. My own experience is exactly as described. I was trying to tile a picture
  42. generated by Cadre TeamWork but the image was bigger than the stack could
  43. hold to create the procedure. I had to resort to a program to read the
  44. PostScript code and break it up into many (50-100) smaller procedures, and 
  45. then re-image for each translate position. 
  46.  
  47. Yes, this worked. But it took explicit knowledge of the PS emitted by TeamWork.
  48. Not applicable to an ARBITRARY piece of PS code.
  49.  
  50. Comments???
  51.  
  52. Regards,
  53.  
  54. Bill Lee
  55.  
  56.