Re: Printing with Xprinter: Getting only grayscale eps files [message #29972] |
Wed, 03 April 2002 05:52  |
milan majtanik
Messages: 3 Registered: April 2002
|
Junior Member |
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
</head>
<body>
David Fanning wrote:<br>
<blockquote type="cite" cite="mid:MPG.1713806ccb49fcc998985a@news.frii.com">
<pre wrap="">milan majtanik (<a class="moz-txt-link-abbreviated" href="mailto:m.majtanik@fz-juelich.de">m.majtanik@fz-juelich.de</a>) writes:<br><br></pre>
<blockquote type="cite">
<pre wrap=""> Hallo everybody in this group!<br><br>I have writen a small program to colect color images from an "analyse too=<br>l",<br>put them on one sheet and store them in several graphics formats (*.jpg, =<br><br> *.xjt, and ohters).<br>I have employed IDL object oriented graphics.<br><br>I want also to write *.eps files. Until now this is done by the Xprinter =<br><br>using the<br>setup option 'Generic (File Only ) ' wiht EPSP-format selected.<br>I draw the IDLgrView object to the IDLgrPrinter object.<br>=20<br><br>The problem is that I get *.eps files with the images being correctly=20<br>rendered,<br>except for color. The images are only grayscaled.<br><br>What I=B4m doing wrong?<br></pre>
</blockquote>
<pre wrap=""><!----><br>I suspect you have a mismatch between the kinds of images<br>you want to send to the printer and the COLOR_MODEL you<br>chose for the printer. Or, the printer doesn't support<br>24-bit color images, and you will need to use a PALETTE<br>and a 2D image with the printer. Or, the printer driver<br>doesn't support color. If the latter, you might try using<br>the clipboard object to generate your EPS files.<br><br>Cheers,<br><br>David<br><br></pre>
</blockquote>
Hallo David,<br>
<br>
I have tried all combinations of color models for my printer object and images
(indexed, rgb ),<br>
under unix and linux OS but the output is still gray.<br>
<br>
My question is: can the XPrinter option 'Generic(File Only') and EPSF selected
print colored <br>
graphic trees. If not, is there any posibility to save a graphics tree/view
to an eps file? <br>
<br>
Thanks! <br>
<br>
Milan<br>
<br>
</body>
</html>
|
|
|
Re: Printing with Xprinter: Getting only grayscale eps files [message #29985 is a reply to message #29972] |
Tue, 02 April 2002 07:47   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
milan majtanik (m.majtanik@fz-juelich.de) writes:
> Hallo everybody in this group!
>
> I have writen a small program to colect color images from an "analyse too=
> l",
> put them on one sheet and store them in several graphics formats (*.jpg, =
>
> *.xjt, and ohters).
> I have employed IDL object oriented graphics.
>
> I want also to write *.eps files. Until now this is done by the Xprinter =
>
> using the
> setup option 'Generic (File Only ) ' wiht EPSP-format selected.
> I draw the IDLgrView object to the IDLgrPrinter object.
> =20
>
> The problem is that I get *.eps files with the images being correctly=20
> rendered,
> except for color. The images are only grayscaled.
>
> What I=B4m doing wrong?
I suspect you have a mismatch between the kinds of images
you want to send to the printer and the COLOR_MODEL you
chose for the printer. Or, the printer doesn't support
24-bit color images, and you will need to use a PALETTE
and a 2D image with the printer. Or, the printer driver
doesn't support color. If the latter, you might try using
the clipboard object to generate your EPS files.
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|
Re: Printing with Xprinter: Getting only grayscale eps files [message #30069 is a reply to message #29972] |
Wed, 03 April 2002 07:25  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
milan majtanik (m.majtanik@fz-juelich.de) writes:
> I have tried all combinations of color models for my printer object and
> images (indexed, rgb ),
> under unix and linux OS but the output is still gray.
>
> My question is: can the XPrinter option 'Generic(File Only') and EPSF
> selected print colored
> graphic trees.
I don't know how it is on UNIX, but in the Windows world
if your printer driver doesn't support color, you ain't gonna
get color output, no how, no way.
> If not, is there any posibility to save a graphics
> tree/view to an eps file?
Have you tried the Clipboard, as I suggested earlier?
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|