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

Home » Public Forums » archive » Re: DIALOG_PRINTJOB and DIALOG_PRINTERSETUP
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: DIALOG_PRINTJOB and DIALOG_PRINTERSETUP [message #29326] Thu, 14 February 2002 08:44
Pavel A. Romashkin is currently offline  Pavel A. Romashkin
Messages: 531
Registered: November 2000
Senior Member
I think these two are there so that you never lose interest in IDL. I
used JOB on my Mac and it worked great, allowing full setup. When I ran
that code on Windows, it was nothing like it, so I went to SETUP. But on
the Mac, setup is something different again.
I have not yet confirmed if, for even higher entertainig value, the
action of these two also changes randomly on the same platform after a
certain number of clicks or something.
Cheers,
Pavel

David Fanning wrote:
>
> I typically use DIALOG_PRINTERSETUP
> because that gives the use lots of options, and if they
> hit OK, I just assume they know what the hell they are
> doing. What else can you do?
>
Re: DIALOG_PRINTJOB and DIALOG_PRINTERSETUP [message #29329 is a reply to message #29326] Thu, 14 February 2002 07:49 Go to previous message
James Kuyper is currently offline  James Kuyper
Messages: 425
Registered: March 2000
Senior Member
David Fanning wrote:

> James Kuyper (kuyper@gscmail.gsfc.nasa.gov) writes:

...

> Leaving aside descriptions for the moment (although I
> do seem to recognize this from my own writing as the
> kinds of words you choose if you are waving your hands
> while you are searching your vocabulary), I think the
> dialogs are certainly operating system specific, and
> probably vendor specific. In other words, what comes
> up depends on what was installed when the printer was
> installed.

That much I could figure out; what I don't understand is why they needed
two of the things.


> I suspect IDL has as much control over it as it
> does over DIALOG_PICKFILE, for example. As such, it
> is awfully hard to explain. I typically use DIALOG_PRINTERSETUP
> because that gives the use lots of options, and if they
> hit OK, I just assume they know what the hell they are
> doing. What else can you do?

I've placed both a "Print Job" button and a "Printer Setup" button on my
application's menu bar. I did that as a temporary measure while I tried
to figure out which one I wanted to use. Based on your answer, I guess
I'll keep them both. Hopefully, the user will be able to figure out by
experimentation which one to use.
Re: DIALOG_PRINTJOB and DIALOG_PRINTERSETUP [message #29335 is a reply to message #29329] Wed, 13 February 2002 17:08 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
James Kuyper (kuyper@gscmail.gsfc.nasa.gov) writes:

> What exactly is the difference supposed to be between DIALOG_PRINTJOB
> and DIALOG_PRINTERSETUP?
>
> About the only difference I can see between their descriptions is that
> DIALOG_PRINTJOB is supposed to set the "parameters", while
> DIALOG_PRINTERSETUP is supposed to set the "properties". I have no idea
> what that's supposed to mean.
>
> On my particular system, "JOB" is a tiny dialog, which allows me to
> select whether or not to use compression, the scale, and the number of
> copies. "SETUP" is a much bigger dialog, that covers both scale and
> number of copies, but not compression, and a whole lot of other things.
> Apparantly "compression" is a parameter, "scale" and "number of copies"
> count as both parameters and properties, and every thing else is a
> property. Huh?

Leaving aside descriptions for the moment (although I
do seem to recognize this from my own writing as the
kinds of words you choose if you are waving your hands
while you are searching your vocabulary), I think the
dialogs are certainly operating system specific, and
probably vendor specific. In other words, what comes
up depends on what was installed when the printer was
installed.

I suspect IDL has as much control over it as it
does over DIALOG_PICKFILE, for example. As such, it
is awfully hard to explain. I typically use DIALOG_PRINTERSETUP
because that gives the use lots of options, and if they
hit OK, I just assume they know what the hell they are
doing. What else can you do?

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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Issuing messages from a dll to a widget
Next Topic: Kuwahara Filter

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

Current Time: Fri Oct 10 02:34:01 PDT 2025

Total time taken to generate the page: 0.32169 seconds