Un-setting /ENCAPSULATED PostScript [message #3464] |
Tue, 31 January 1995 17:43  |
keith
Messages: 7 Registered: July 1993
|
Junior Member |
|
|
A quick question -
With IDL 3.6.1a running under Solaris 2.2,, I have no problem writing
PostScript output. Occasionally, though, I want encapsulated PostScript
output, which also works fine.
The problem I have is that once I have written something out as encapsulated PostScript, how do I get the device to return to standard
PostScript? I usually will return the device to 'X', but then later, if
I want to print out a PostScript plot (non-encapsulated) and set_plot,'PS',
the device is still set to encapsulated.
If I've missed something in the manual or if anyone has suggestions,
I'd appreciate hearing. Right now, I either save all my encapsulated
stuff until the end of a session or I have to exit IDL and restart it
to get it reset. This shouldn't be (it seems to me).
Thanks, Keith
--
************************************************************ ***********
** Keith Horton ** ** keith@guinness.pgd.hawaii.edu **
** University of Hawaii ** ** Voice: (808) 956-3151 **
** HIGP, Honolulu, Hawaii ** ** FAX: (808) 956-6322 **
|
|
|
Re: Un-setting /ENCAPSULATED PostScript [message #3518 is a reply to message #3464] |
Mon, 06 February 1995 07:10  |
Frank J. �ynes
Messages: 17 Registered: February 1995
|
Junior Member |
|
|
keith@guinness.tmc.edu (Keith Horton) wrote:
>
>
> A quick question -
>
> With IDL 3.6.1a running under Solaris 2.2,, I have no problem writing
> PostScript output. Occasionally, though, I want encapsulated PostScript
> output, which also works fine.
>
> The problem I have is that once I have written something out as encapsulated PostScript, how do I get the device to return to standard
> PostScript? I usually will return the device to 'X', but then later, if
> I want to print out a PostScript plot (non-encapsulated) and set_plot,'PS',
> the device is still set to encapsulated.
>
> If I've missed something in the manual or if anyone has suggestions,
> I'd appreciate hearing. Right now, I either save all my encapsulated
> stuff until the end of a session or I have to exit IDL and restart it
> to get it reset. This shouldn't be (it seems to me).
>
> Thanks, Keith
> --
> ************************************************************ ***********
> ** Keith Horton ** ** keith@guinness.pgd.hawaii.edu **
> ** University of Hawaii ** ** Voice: (808) 956-3151 **
> ** HIGP, Honolulu, Hawaii ** ** FAX: (808) 956-6322 **
device,encapsulated=0
|
|
|
Re: Un-setting /ENCAPSULATED PostScript [message #3529 is a reply to message #3464] |
Fri, 03 February 1995 06:49  |
baardk
Messages: 1 Registered: February 1995
|
Junior Member |
|
|
Try the following for encapsulated postscript
set_plot,"ps"
device, filename="file.eps", encapsulated = 1
...plotting commands...
device, /close
and
set_plot, "ps"
device, filename="file.ps", encapsulated = 0
...plotting commands...
device, /close
for un-encapsulated postscript. This works fine and allows you
to combine the two options in the same session (in arbitrary
order).
Baard Krane
|
|
|
Re: Un-setting /ENCAPSULATED PostScript [message #3547 is a reply to message #3464] |
Thu, 02 February 1995 02:17  |
Fergus Gallagher
Messages: 41 Registered: January 1995
|
Member |
|
|
keith@guinness.tmc.edu (Keith Horton) wrote:
> The problem I have is that once I have written something out as encapsulated PostScript, how do I get the device to return to standard
> PostScript? I usually will return the device to 'X', but then later, if
> I want to print out a PostScript plot (non-encapsulated) and set_plot,'PS',
> the device is still set to encapsulated.
>
I guess following will do
[set_plot,'ps']
device,encapsulated=0
Fergus
British National Space Centre
|
|
|