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

Home » Public Forums » archive » color printing
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Color Printing [message #20307 is a reply to message #4844] Fri, 02 June 2000 00:00 Go to previous message
Michael Asten is currently offline  Michael Asten
Messages: 53
Registered: March 1999
Member
I'm guessing a problem with settings on your printer driver (do other progs
print in color ok?). I regularly print direct graphics in color to a color
printer (eg HP1000) under Win95/98 printer drivers, and have no difficulty
with color. Maybe try a simple line plot in color just to be sure it is not a
problem with your color table conversion on the image.

Regards,
Michael Asten

Mark Guagenti wrote:

> I was wondering if I could get some help on how to print a direct graphics
> window in color to my color printer. I load a grayscale image with
> tvscl and then change the color table. When I print my image it only comes
> out in B&W. Included is my code that I am currently using to try and print
> the direct graphics window. Thanks for any help.
>
> -- Mark
>
> Grace and peace to you from God our Father and the Lord Jesus Christ.
> 1 Cor. 1:3
>
> PRO riobj::print, event
> ok = Dialog_PrinterSetup()
> IF ok THEN BEGIN
> snapshot = TVRD()
> thisDevice = !D.Name
> Set_Plot, 'PRINTER'
> plotAspect = Float(self.CurDimX / self.CurDimY)
> windowAspect = 11.0 / 8.5
> position = Aspect(plotAspect, WindowAspect=windowAspect)
> TVScale, snapshot, position=position, /KEEP_ASPECT_RATIO
> Device, /Close_Document
> Set_Plot, thisDevice
> ENDIF
> END
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: CALL_EXTERNAL and Fortran under Linux
Next Topic: Re: MacOS X

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

Current Time: Sun Oct 12 17:08:11 PDT 2025

Total time taken to generate the page: 2.39751 seconds