Re: Q: Encapsulated Postscript - Mac vs. Unix [message #4054] |
Thu, 27 April 1995 00:00 |
teverovs
Messages: 4 Registered: April 1995
|
Junior Member |
|
|
Plots on the Mac that I make with Igor program from WaveMetrics
are viewed by Word or Word Perfect or Canvas and printed just fine.
So MacOS is not to blame I think. However, eps format plots that were
made in IDL could not be read into WP/Word and Canvas would not display
them even though it will print them. RSI support person first adviced
to use /preview keyword, but it didn't make any difference.
Then I got the following responce. It didn't help me since
I cannot insert the plot into WP or Word - these programs do not
recognize the document as eps. See if it helps you.
-Elena
The following is a description of how another user successfully inported
a encapsulated postscript file into word perfect. Be sure you use the
encapsulated keyword to device and that you close the device. My
original suggestion to use the preview keyword may actually have caused a
problem. This particular user found that by omitting this keyword he was
able to successfully import the file.
1) create the IDL plot using just set_plot,'ps'
2) insert the plot into the WP document using the "graphic on disk" option
3) ignore the WP message "graphic contains info for Postscribt plotters
only." WP does bring the plot into the WP document, but you don't see it
on your screen. (the preview keyword to device does NOT solve this problem,
and should not be used, because files created with the preview keyword won't
print in step 4, below)
4) send the WP document to a Postscript printer, at which time both the
text and the graphic print out just fine.
|
|
|
Re: Q: Encapsulated Postscript - Mac vs. Unix [message #4149 is a reply to message #4054] |
Thu, 27 April 1995 00:00  |
Troy Klein
Messages: 4 Registered: April 1995
|
Junior Member |
|
|
Solution that works for me:
Try the package "ps2epsmac" at one of the Michigan Mac archive mirrors:
<URL:ftp://mirror.aol.com/pub/mac/util/unix/>
The approach is to take your ps file, generate a PICT image using
Ghostscript and PBMplus, and then combine the PICT image and the
original postscript into a MacBinary file. All of this is accomplished
via a UNIX script file.
Once you decode the MacBinary on your Mac, you end up with a true
Mac EPSF file. You can even select the TYPE and CREATOR in the
UNIX script file.
I've had great success with importing the EPSF into Word, Powerpoint
and MacDraw Pro. It allows me to easily add annotation to my IDL plots.
It even works with color postscript.
I also noticed "ps2epsplus" at the U. Of Michigan Mac archive. I haven't
tried it yet, but this might be an alternative solution.
<URL:ftp://mirror.aol.com/pub/mac/util/text/>
For you PC users, use Archie to find the package "ps2epsf". The approach
is similar, however a TIFF preview is generated instead of a PICT preview to
be compatible with PC applications instead of Mac applications.
Good luck!
|
|
|