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

Home » Public Forums » archive » Re: Configuring XPrinter
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Configuring XPrinter [message #58843] Fri, 22 February 2008 15:13
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
In article
<dd7b4757-b13f-4f65-8880-f23abde6bf0b@v3g2000hsc.googlegroups.com>,
Spon <christoph.blau@gmail.com> wrote:

>> Is it possible to create color EPSF output? If so, how?
>>
>> Thanks, Ken Bowman
>
> Ken,
>
> from:
> http://en.wikipedia.org/wiki/Encapsulated_PostScript
>
> "... A fourth format known as a EPSI includes an ASCII-encoded preview
> bitmap. This format allows for black-and-white previews only. It is
> mainly used on UNIX systems. [...] An EPSI file will contain a line
> starting %%BeginPreview: in the DSC prolog."
>
> Does your .eps file have this %%BeginPreview: line?
> Is it possible that this is what's happening, and that if you imported
> your EPS file into another PS document the colour would magically
> reassert itself?
>
> Just a thought,
> Chris

The string 'Preview' does not occur in the file. The header looks like
this

%!PS-Adobe-3.0 EPSF-3.0
%%BoundingBox: 18 19 592 774
%%Creator: Wind/U Xprinter Version 3.3.1 (darwin) (Compile Date: Apr 18
2006 11:29:00) (bowman)
%%Title:
%%CreationDate:Fri Feb 22 08:18:04 2008
%%DocumentSuppliedResources: (atend)
%%Pages: (atend)
%%LanguageLevel: 2
%%EndComments
%%BeginProlog


There is a large bitmap in the file (or multiple tiles, I don't know
enough PS to know).



If I try to use the Postscript file printer instead, I get a Postscript
file, but I cannot open it with any other software I own (Adobe
Illustrator, pstopdf, etc.)


Ken
Re: Configuring XPrinter [message #58844 is a reply to message #58843] Fri, 22 February 2008 15:03 Go to previous message
Spon is currently offline  Spon
Messages: 178
Registered: September 2007
Senior Member
On Feb 22, 2:39 pm, "Kenneth P. Bowman" <k-bow...@null.edu> wrote:
> I am going to make one more try at using the XPrinter printing system.
> I do this every few years whenever I miss the feeling of being intensely
> frustrated.
>
> Let me start with something very simple.
>
> I am running IDL 6.4 on Mac OS X 10.5. To have a clean slate I move my
> .XPrinterDefaults to a new file and start IDL. I create an iTool with
>
> iSurface, DIST(50)
>
> and then select Print from the File menu. The default output is EPSF to
> the file xprinter.eps. I use all the defaults and click OK.
>
> An EPS file (xprinter.eps) appears in my home directory. I open it, and
> unlike the onscreen graphic, it is grayscale. No color.
>
> I would be delighted to get EPS output, but I need color. There is no
> obvious way to turn color on in the Print dialog box.
>
> Is it possible to create color EPSF output? If so, how?
>
> Thanks, Ken Bowman

Ken,

from:
http://en.wikipedia.org/wiki/Encapsulated_PostScript

"... A fourth format known as a EPSI includes an ASCII-encoded preview
bitmap. This format allows for black-and-white previews only. It is
mainly used on UNIX systems. [...] An EPSI file will contain a line
starting %%BeginPreview: in the DSC prolog."

Does your .eps file have this %%BeginPreview: line?
Is it possible that this is what's happening, and that if you imported
your EPS file into another PS document the colour would magically
reassert itself?

Just a thought,
Chris
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: IDL 7 synchronisation
Next Topic: linear-space image converted to log-space

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

Current Time: Thu Oct 09 21:17:52 PDT 2025

Total time taken to generate the page: 0.00857 seconds