comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » PostScript Encapsulation Knowledge
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
PostScript Encapsulation Knowledge [message #89665] Sat, 08 November 2014 09:46 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Folks,

I've run into an interesting little problem. I have reason to want to
know if the current PostScript device configuration is set up to make
encapsulated PostScript output or not.

I wrote a function that takes the output of the Help, /Device command
and parses the information contained in that output to discover the
"mode" of encapsulation. Here is the relevant line of output:

Mode: Portrait, Non-Encapsulated, EPSI Preview Disabled, Color Enabled

The problem is, in IDL 8.3.2 on Windows the encapsulation mode never
changes!

IDL> Set_Plot, 'PS'
IDL> Device, /Encapsulated
IDL> Help, /Device

Available Graphics Devices: CGM HP METAFILE NULL PCL PRINTER PS WIN Z
Current graphics device: PS
File: C:\IDL\tester.eps
Mode: Portrait, Non-Encapsulated, EPSI Preview Disabled, Color Enabled

I've confirmed the PostScript device *creates* an encapsulated
PostScript file when I configure the device like this. It just never
tells me it is doing so.

Is this the case in other versions of IDL, too?

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to apply a vegetation index on multiple images?
Next Topic: Re: ignoring the strings

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 11:43:23 PDT 2025

Total time taken to generate the page: 0.00434 seconds