| Re: IDL PostScript Landscape Mode (Not!) Fixed [message #67587 is a reply to message #67586] |
Thu, 06 August 2009 21:36  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
David Fanning writes:
> I have been able to write an IDL
> program, named FixPS, that appears to fix IDL PostScript
> Landscape mode output and rearrange it so it is
> right-side up, finally!
>
> I'll have an article written soon that will provide
> all of the details. But for the moment, you might want
> to test this program with your landscape files. I
> imagine it won't be as simple as we all hope it will be,
> and the program will have to be tweaked a little. You
> can find the file here:
>
> http://www.dfanning.com/programs/fixps.pro
The new article that describes the details of how to
modify your IDL PostScript landscape file to allow a
PostScript viewer to view the file right-side-up can
be found here:
http://www.dfanning.com/ps_tips/landscapeup.html
I have made a few significant changes in the FixPS
file already. Among them are these. (1) If an output
filename is not provided, the input PostScript file
is modified in place. (2) The program checks for
non-landscape mode files and files that have already
been modified, and leaves these files untouched.
You can find the file that implements the changes to the
file here:
http://www.dfanning.com/programs/fixps.pro
I have re-written parts of the code to eliminate any
dependence on the Coyote Library. I thought this might
make the file more useful to a larger audience.
At the moment, the program will only work with single
page landscape output. Perhaps if there is need, I will
upgrade it to multiple page landscape output as well.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
|