Re: Please help. PostScript Import [message #2653] |
Fri, 26 August 1994 06:42  |
murthy
Messages: 7 Registered: February 1994
|
Junior Member |
|
|
xmosa (xmosa@vega.pd.astro.it) wrote:
: In article <fskmjm.82@puknet.puk.ac.za>, fskmjm@puknet.puk.ac.za (Mathews, MJ) writes:
: |>
: |>I'm running IDL 3.5.1 under Windows 3.1 and would like to import PostScript
: |>graphs into Word for Windows 6. I've tried device, /encapsulate, but all I
: |>get after importing to Word, is the title, creator and date, with a border
: |>around it. No plot!
: |>
: |>I've looked inside the print file IDL created and there are some references
: |>to $IDL_DICT. Does this mean that extra IDL goodies are linked to the file,
: |>or is everything needed for the plot contained inside the .PS file.
: |>
: |>Thanks in advance
: |>Mike
: |>
: I don't use Word 6 for Windows but I think that what is happening to
: you is correct, that is your graphics was included correctly by Word
: and the entire document should print fine.
: Many programs claiming that they are capable of importing Encapsulated
: Postscript Files do not *show* them within their documents but *represent*
: them with a box showing information taken from the file (i.e. title,
: creator, and so on...), this is the case, for example, for the DVI
: previewer for Windows (I don't remember the name of the program), and,
: under Unix, for the tgif program.
: cheers
: Andrea Baruffolo
: Osservatorio Astronomico
: Padova, Italy
:
That's right. It will print fine but only if you print it to a postscript
printer. If you want to use another printer I would recommend getting
ghostscript/ghostview and using those to print out. In fact that is how
I print IDL graphics on my ink jet. I write out to a PS file and use gsview
to interpret it.
--
Jayant Murthy murthy@pha.jhu.edu
410-516-7027
|
|
|
Re: Please help. PostScript Import [message #2718 is a reply to message #2653] |
Tue, 30 August 1994 06:06  |
klm5
Messages: 2 Registered: August 1994
|
Junior Member |
|
|
In article <33tbj8$8fm@nps.navy.mil> olsen@physics.nps.navy.mil writes:
> In article 82@puknet.puk.ac.za, fskmjm@puknet.puk.ac.za (Mathews, MJ) writes:
>> I'm running IDL 3.5.1 under Windows 3.1 and would like to import PostScript
>> graphs into Word for Windows 6. I've tried device, /encapsulate, but all I
>> get after importing to Word, is the title, creator and date, with a border
>> around it. No plot!
>>
Do you mean that all that appears on the computer screen is the title, creator
and date, with no plot, or is that all you get when you try to print the
document. It has been our experience that when you use the device, /encaps
commands to create PostScript, and then import the PS file into Word, you
will only see the title, creator, etc, on the screen, but the plot will
appear when you print out the document (I believe this has something to do
with the fact that Word does not bother to translate the PS file into an object
which it can display on the screen, since the PS file is already printer-ready.
>
> I would suggest using a different format, if you want to see the results in
> your document - I use the 'cgm' format fairly regularly on the PC, and
> am routinely writing class notes in Word f.w. 6 with IDL plots imbedded.
> Import as a picture, then you can edit the image! very handy for adjusting the
> size....
>
> rc olsen
>
>
I would also recommend you use the 'cgm' format, since it does allow the
plot to be edited after it is inserted into the document. It is a little
harder to do that with the imported PostScript document.
Kip Matthews
|
|
|
Re: Please help. PostScript Import [message #2722 is a reply to message #2653] |
Mon, 29 August 1994 12:06  |
olsen
Messages: 5 Registered: March 1994
|
Junior Member |
|
|
In article 82@puknet.puk.ac.za, fskmjm@puknet.puk.ac.za (Mathews, MJ) writes:
> I'm running IDL 3.5.1 under Windows 3.1 and would like to import PostScript
> graphs into Word for Windows 6. I've tried device, /encapsulate, but all I
> get after importing to Word, is the title, creator and date, with a border
> around it. No plot!
>
I would suggest using a different format, if you want to see the results in
your document - I use the 'cgm' format fairly regularly on the PC, and
am routinely writing class notes in Word f.w. 6 with IDL plots imbedded.
Import as a picture, then you can edit the image! very handy for adjusting the
size....
rc olsen
|
|
|
Re: Please help. PostScript Import [message #2734 is a reply to message #2653] |
Sat, 27 August 1994 20:28  |
hadfield
Messages: 11 Registered: October 1993
|
Junior Member |
|
|
In article <33li8l$qlv@paperboy.gsfc.nasa.gov> thompson@orpheus.gsfc.nasa.gov (William Thompson) writes:
>> I'm running IDL 3.5.1 under Windows 3.1 and would like to import PostScript
>> graphs into Word for Windows 6. I've tried device, /encapsulate, but all I
>> get after importing to Word, is the title, creator and date, with a border
>> around it. No plot!
> This is the correct behavior. Although Word for Windows cannot display the
> PostScript graphic on the screen, the document will print okay on a PostScript
> printer. You can change this behavior by using
> IDL> DEVICE, /ENCAPSULATE, /PREVIEW
> It will then create a preview image that Word for Windows should be able to use
> to really show you what it will look like. See the reference manual for
> details.
All correct, except that Word for Windows cannot see IDL-generated preview
images. (At least versions up to 2.0c can't; version 6 might be able to, but I
doubt it.)
I frequently generate EPS graphs from IDL and import them into Word for
Windows. I use GSview/Ghostscript to add Windows Metafile (WMF) preview
bitmaps. The process is a little fiddly so I drive it all with a Visual
Basic program. Works a treat, but a couple of caveats:
1. Preview image colour depth must be limited to 4 bits (8 bits crashes the
Word for Windows import filter!).
2. The size of the preview image that GSview can handle is limited to approx
64 kbytes. This limitation may have been removed with the latest 32-bit
versions of GSview & Ghostscript.
The current versions of GSview and Ghostscript are available from
ftp://ftp.cs.wisc.edu/, directories /pub/ghost/rjl and /pub/ghost/aladdin.
============================================================ ==
Mark Hadfield hadfield@storm.greta.cri.nz
NIWA Marine (Taihoro Nukurangi) NIWA.GRETA:HADFIELD
Wellington, New Zealand
|
|
|
Re: Please help. PostScript Import [message #2740 is a reply to message #2653] |
Fri, 26 August 1994 13:11  |
thompson
Messages: 584 Registered: August 1991
|
Senior Member |
|
|
fskmjm@puknet.puk.ac.za (Mathews, MJ) writes:
> I'm running IDL 3.5.1 under Windows 3.1 and would like to import PostScript
> graphs into Word for Windows 6. I've tried device, /encapsulate, but all I
> get after importing to Word, is the title, creator and date, with a border
> around it. No plot!
This is the correct behavior. Although Word for Windows cannot display the
PostScript graphic on the screen, the document will print okay on a PostScript
printer. You can change this behavior by using
IDL> DEVICE, /ENCAPSULATE, /PREVIEW
It will then create a preview image that Word for Windows should be able to use
to really show you what it will look like. See the reference manual for
details.
Bill Thompson
|
|
|
Re: Please help. PostScript Import [message #2743 is a reply to message #2653] |
Fri, 26 August 1994 05:23  |
xmosa
Messages: 3 Registered: August 1994
|
Junior Member |
|
|
In article <fskmjm.82@puknet.puk.ac.za>, fskmjm@puknet.puk.ac.za (Mathews, MJ) writes:
|>
|>I'm running IDL 3.5.1 under Windows 3.1 and would like to import PostScript
|>graphs into Word for Windows 6. I've tried device, /encapsulate, but all I
|>get after importing to Word, is the title, creator and date, with a border
|>around it. No plot!
|>
|>I've looked inside the print file IDL created and there are some references
|>to $IDL_DICT. Does this mean that extra IDL goodies are linked to the file,
|>or is everything needed for the plot contained inside the .PS file.
|>
|>Thanks in advance
|>Mike
|>
I don't use Word 6 for Windows but I think that what is happening to
you is correct, that is your graphics was included correctly by Word
and the entire document should print fine.
Many programs claiming that they are capable of importing Encapsulated
Postscript Files do not *show* them within their documents but *represent*
them with a box showing information taken from the file (i.e. title,
creator, and so on...), this is the case, for example, for the DVI
previewer for Windows (I don't remember the name of the program), and,
under Unix, for the tgif program.
cheers
Andrea Baruffolo
Osservatorio Astronomico
Padova, Italy
|
|
|
Re: Please help. PostScript Import [message #2747 is a reply to message #2743] |
Fri, 26 August 1994 08:39  |
jnewman
Messages: 3 Registered: August 1994
|
Junior Member |
|
|
The problem you are having is that encapsulate PostScript files come in
different classes. We had a similar problem in that we wanted to be able to
edit PostScript files created by IDL with Mac software. We found that
though they could be included in files, and they would print, all you could
see was the box you described. We finally found a piece of software,
Transverter Pro by TechPool Software, that converts the PostScript files to
lots of different formats. I'm pretty sure they have a PC version and it's
worked very well for us. Jean
In Article <33kmse$s36@maya.dei.unipd.it>, xmosa@vega.pd.astro.it (xmosa) wrote:
>
> In article <fskmjm.82@puknet.puk.ac.za>, fskmjm@puknet.puk.ac.za (Mathews, MJ)
writes:
> |>
> |>I'm running IDL 3.5.1 under Windows 3.1 and would like to import PostScript
> |>graphs into Word for Windows 6. I've tried device, /encapsulate, but all I
> |>get after importing to Word, is the title, creator and date, with a border
> |>around it. No plot!
> |>
> |>I've looked inside the print file IDL created and there are some references
> |>to $IDL_DICT. Does this mean that extra IDL goodies are linked to the file,
> |>or is everything needed for the plot contained inside the .PS file.
> |>
> |>Thanks in advance
> |>Mike
> |>
> I don't use Word 6 for Windows but I think that what is happening to
> you is correct, that is your graphics was included correctly by Word
> and the entire document should print fine.
> Many programs claiming that they are capable of importing Encapsulated
> Postscript Files do not *show* them within their documents but *represent*
> them with a box showing information taken from the file (i.e. title,
> creator, and so on...), this is the case, for example, for the DVI
> previewer for Windows (I don't remember the name of the program), and,
> under Unix, for the tgif program.
>
> cheers
>
> Andrea Baruffolo
> Osservatorio Astronomico
> Padova, Italy
>
------------------------------------------------------------ -----------
| Jean Newman jnewman@pmel.noaa.gov |
| NOAA/PMEL/OERD |
| 7600 Sand Point Way NE, Bldg. 3 Tel: 206-526-6531 |
| Seattle, WA 98115-0070 FAX: 206-526-6054 |
------------------------------------------------------------ -----------
|
|
|