Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!apple!sun-barr!rutgers!att!cbnewsc!vgopal From: vgopal@cbnewsc.ATT.COM (venu.p.gopal) Newsgroups: comp.lang.postscript Subject: Re: Encapsulated PS format for WordPerfect Message-ID: <1917@cbnewsc.ATT.COM> Date: 21 Jul 89 19:50:49 GMT References: <1989Jul20.122406.5912@cs.dal.ca> Reply-To: vgopal@cbnewsc.ATT.COM (venu.p.gopal) Organization: AT&T Bell Laboratories Lines: 34 In article <1989Jul20.122406.5912@cs.dal.ca> silvert@cs.dal.ca (Bill Silvert) writes: >I have been trying to create an encapsulated postscript file (or an >ordinary PS file for that matter) that WordPerfect 5.0 will read in. >So far no success. With the EPS file WP always reports an end-of-file >error, suggesting that it is looking for something I have left out. >If I change the header so it thinks that it is regular PS it reads it in >without complaining, but nothing is there! > >If anyone can send me a short file that draws anything -- line segment, >circle, etc. -- that loads into WP, I would be greatly indebted. > >By the way, the recently posted EPS circle doesn't load. >-- >Bill Silvert, Habitat Ecology Division. >Bedford Institute of Oceanography, Dartmouth, NS, Canada B2Y 4A2 > UUCP: ...!{uunet,watmath}!dalcs!biomel!bill > Internet: biomel@cs.dal.CA BITNET: bs%dalcs@dalac.BITNET On the other hand, I have had extremely good luck in getting WP 5.0 to read in many postscript files that were not EPS. The trick is to add the %%BoundingBox n1 n2 n3 n4 line, where n1..n4 indicate the box corners. You may have to play with the numbers before you get it right. If the numbers are wrong, you may see nothing in the box. WP strips off the "showpage" line but otherwise takes in the file intact. It definitely looks for the %%BoundingBox line. Venu P. Gopal UUCP: att!ihuxy!vgopal Internet: vgopal@ihuxy.att.com BITNET: com%"vgopal@ihuxy.att.com" or com%"vgopal%ihuxy@research.att.com"