sridevan@s2.elec.uq.oz (Sridevan Parameswaran) (08/09/90)
I have a postscript file (call it X) that was created in using the MACDRAW facility and then pressing the command F in the OK button. I have imported it to the Sun machine, run macps (X becomes X.ps) to convert it to print using normal lpr commands. This picture prints perfectly on an Apple laserwriter connected to the Suns. However, if I try to import it into a latex file, then the drama begins. The file X.ps which is imported into latex using dvips and \special command refuses to print. The rest of the LaTex file is perfect. Could someone please offer any help. My email address is sridevan@s1.elec.uq.oz.au Thanks in Advance Sri
moss@cs.umass.edu (Eliot Moss) (08/10/90)
1) I tried sending mail, but the host of the original poster is unknown to my mail system (i.e., not available through the domain naming system for some reason). 2) I reckoned that since this question is asked so much, it wouldn't hurt to post a followup, so here's my answer to Sridevan's question/problem: To fix a MacDraw figure for use with dxpsview, make the following changes to the PostScript output: 1) replace the "op" line (near the top) with "/pm save def" 2) replace the "F T cp" line (near the bottom) with "pm restore" This is generally necessary to achieve the best success printing as well, since the cp command tries to force a page out, etc., and since the cp command has some strange timing stuff in it that near as I can figure out is for hand feeding paper into a LaserWriter. Since I use DEC PostScript printers, the cp code tends to fail miserably. Another thing is that you *must* include the mac.pro file in the output sent to the printer. Rokicki's dvips can help do that for you. There are several flavors of mac.pro, some of which seem to work better than others for me. Unfortunately, I decline to post my mac.pro because it says "Copyright Apple ..." all over it. Hope this all helps .... Eliot -- J. Eliot B. Moss, Assistant Professor Department of Computer and Information Science Lederle Graduate Research Center University of Massachusetts Amherst, MA 01003 (413) 545-4206; Moss@cs.umass.edu