morro@drycas.club.cc.cmu.edu (03/22/91)
Hi there, I posted this before, but I didn't get any replies so I thought I'de give it another try. I have also some more information now, so perhaps someone with PostScript expertiese might be able to figure out what to do. I am running into problmes trying to print a "metafile" on a NeXT laser printer. Parts of the file (ca. 500 K) are included below. It is supposed to consist of four squares (a la some window frames) each of which has a wire mesh graph depicting wavefunctions of coupled harmonic oscillators. It comes from a book called Quantum Mechanics on Personal Computer. According to the instructions in the book, the files arew set up to work with a printer using A4 paper which is what we are using (8.5 by 11). However, all I get is an image about the size of a *very* small postage stamp located in the middle of a page. To be sure, it is showing what it is supposed to show, but it's pretty nearly impossible to view without a fairly large magnifying glass. I have played with it a bit on other systems (DEC 3100) and the results are the same. I've tried changing the .12 .12 scale to something like .5 .5 and .8 .8 but as the image grows it also moves off the page, heading towards the upper right corner. I've added a -1720 -1720 translate just by guessing, but still, by about .8 .8 scale the image is gone. So, what I was wondering is whether there might be some *logical* way of adjusting this such that the image would be of correct size and would appear in the center of an 8 by 11 page. Thanks in advance for any suggestions ! - John --------------------------------------------------------------------------- %! initgraphics /p {2.3622 mul setlinewidth moveto /eoloop exch def 2 1 eoloop {pop rlineto}for stroke}bind def .12 .12 scale 1 setlinecap 1 setlinejoin 0 323 -227 0 0 -323 227 0 0 0 6 2149 3368 1 p -227 0 0 0 3 2376 3207 1 p 0 323 0 0 3 2262 3045 1 p 0 0 0 -1 0 0 0 0 0 0 0 -1 0 0 0 0 0 0 10 2296 3290 3 p 0 -1 0 0 3 2296 3291 3 p 0 -1 0 0 0 0 0 0 0 -1 0 0 0 0 -1 0 0 0 10 2297 3295 3 p 0 -1 0 0 3 2297 3296 3 p -1 0 0 0 0 -1 0 0 0 0 0 0 0 -1 0 0 0 0 10 2298 3300 3 p 0 0 0 0 3 2298 3300 3 p 0 0 0 0 0 0 0 0 0 0 -1 -1 0 0 0 0 0 0 10 2301 3303 3 p 0 0 0 0 3 2301 3303 3 p -1 0 0 0 0 0 0 0 0 0 0 -1 -1 0 0 0 0 0 10 2304 3305 3 p 0 0 0 0 3 2304 3305 3 p 0 0 0 0 0 0 0 0 0 0 -1 0 0 0 0 0 0 . . . several hundred lines deleted . . 4 -8 0 1 1 -4 -2 2 1 1 0 0 7 2170 3169 1 p 0 4 0 0 3 2163 3180 1 p -2 -1 0 0 3 2164 3182 1 p -1 0 2 3 0 0 4 2163 3176 1 p 4 8 0 -1 1 4 -2 -2 1 -1 0 0 7 2170 3084 1 p 2 0 0 0 3 2164 3074 1 p -1 4 0 0 3 2165 3072 1 p 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 -1 0 0 10 2162 3072 1 p 0 -2 0 1 0 0 4 2162 3073 1 p showpage ---------------------------------------------------------------------------