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

Home » Public Forums » archive » Re: vector print bug ?
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: vector print bug ? [message #18877 is a reply to message #18876] Mon, 14 February 2000 00:00 Go to previous messageGo to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Dr. Udo Grabowski (grabow@darkstar.inka.de) writes:

> In idl 5.3 there is the new IDLgrPrinter class with the Draw method
> for vector plots:
>
> Printer = OBJ_NEW ('IDLgrPrinter', vector=1)
> Printer -> Draw, Scene
>
> The output is supposed to be an eps file, but we are not able to print
> or view or include this plot (yes, it has a 'showpage' at the end) with
> any tool available to us. We tried several options, but nothing helps.
> Is this a possible bug ? Or belongs it to that class of scrap Windows
> believes to be PostScript (we are using Unix: OSF, Linux, and Solaris,
> of course) ?

Not sure what documentation you are reading, but my documentn
doesn't say anything about sending output to a file at all.
It says that output is sent to the printer in vector (as opposed
to bitmap) form. Of course, you might be able to re-direct the
output to a PostScript file if your Dialog_PrinterSetup will
allow it. (My Lexmark printer setup allows all kinds of things,
including redirection to a Postscript file, but encapsulated
PostScript is not among them.)

And, in addition, my documentation says to use the VECTOR
keyword as a keyword to the DRAW method:

Printer = OBJ_NEW ('IDLgrPrinter')
ok = Dialog_PrinterSetup(Printer)
IF OK THEN Printer -> Draw, Scene, vector=1

When I do this I find I get significantly faster rendering
to the printer. :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: spawn
Next Topic: Re: Clearing widget_list of all entries

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

Current Time: Fri Oct 10 00:21:45 PDT 2025

Total time taken to generate the page: 0.08151 seconds