Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Print to color postscript printer problem

0 views
Skip to first unread message

Mark Chao-Kuang Yang

unread,
Jul 16, 1996, 3:00:00 AM7/16/96
to

Hi!
I have a problem. Hope someone can help me out here.
I have a color post script printer, Tektronix Phaser 340. I am trying

to print out a 24-bit bitmap. However, it doesn't print out in color but in
gray scale. I read it somewhere that postscript printer is a 1 bit per pixel
printer and a call to GetDeviceCaps proves it. So what is the best way to
print 24-bit bitmap in color? I have tried StretchDIBits and
SetDIBitsToDevice and both of them don't work.
What is the best GDI calls to print out 24-bit bitmap to color
postscript printer in color!?

Thanks in advance!

Mark Yang

-----------------------------------------------------------------------------
email: chao...@scf.usc.edu
chy...@graphics.usc.edu

Home Page: http://asm1.usc.edu/ckyang.html

Paul Meyer

unread,
Jul 18, 1996, 3:00:00 AM7/18/96
to

Mark Chao-Kuang Yang wrote:
> I have a problem. Hope someone can help me out here.
> I have a color post script printer, Tektronix Phaser 340. I am trying
> to print out a 24-bit bitmap. However, it doesn't print out in color but in
> gray scale. I read it somewhere that postscript printer is a 1 bit per pixel
> printer and a call to GetDeviceCaps proves it. So what is the best way to
> print 24-bit bitmap in color? I have tried StretchDIBits and
> SetDIBitsToDevice and both of them don't work.

The problem is, there is no GDI call to draw on a black-and-white device in
color. Think about it; what exactly should GDI do if you try to draw in
purple on a monochrome display?

What you need is a COLOR POSTSCRIPT DRIVER. The standard system postcript
driver is monochrome. Two obvious places to look for the driver you want
would be the manufacturer, Tektronix, and the comp.os.ms-windows.setup
newsgroup. Short of writing your own graphics device driver, there is no
programming solution for what you want.

John Beardmore

unread,
Jul 21, 1996, 3:00:00 AM7/21/96
to

In article <31EEA8...@oceania.com>, Paul Meyer <pme...@oceania.com>
writes

>Mark Chao-Kuang Yang wrote:
>> I have a problem. Hope someone can help me out here.
>> I have a color post script printer, Tektronix Phaser 340. I am trying
>> to print out a 24-bit bitmap. However, it doesn't print out in color but in
>> gray scale. I read it somewhere that postscript printer is a 1 bit per pixel
>> printer and a call to GetDeviceCaps proves it. So what is the best way to
>> print 24-bit bitmap in color? I have tried StretchDIBits and
>> SetDIBitsToDevice and both of them don't work.
>
>The problem is, there is no GDI call to draw on a black-and-white device in
>color. Think about it; what exactly should GDI do if you try to draw in
>purple on a monochrome display?

Providing an arbitary monochrome intensity might be better than nothing.


>What you need is a COLOR POSTSCRIPT DRIVER. The standard system postcript
>driver is monochrome.

Of course, if it passed the colours to the mono postscript device,
postscript would assign mono intensities to the colours 'cos
postscript's [a little bit] clever like that.


J/.
--
John Beardmore

0 new messages