AnsweredAssumed Answered

vrf Agilent VEE & 4192A impedance analyzer

Question asked by VRFuser on Apr 8, 2003
Hello Shawn,

I don't think that I'm limited by my imagination but.. thank you,
I have a lot of homework to do! I will try it out. And if its
possible to do as you say I think I will find out.
Otherwise I will continue send boring questions to the vrf =;O) .

Horst


-----Original Message-----
From: Shawn Fessenden [mailto:shawn@testech-ltd.com]
Sent: Tuesday, April 08, 2003 5:34 AM
To: VEE vrf
Subject: [vrf] RE: AW: RE: Printer scaling and orientation at runtime?


Horst...

> which print setup dialog do you mean?

I was talking about the one you get when you call PrintDlg or PrintDlgEx.
That's if you want to be able to change the printer interactively. If you
want to simply change it behind the scenes, then Paul's method is best - use
the WshNetwork object. If you don't have or for some reason can't use that,
give SendKeys a try. If that won't work for some reason or if you just want
to understand what's happening, write the default printer of choice to
win.ini and notify the VEE runtime of the change. See my reply to Paul's
message.

Come to think of it, you can do it with ExecuteProgram too. And no, I don't
mean running another instance of VEE. Geez! that's about the craziest thing
I ever heard. But yeah, I heard it too. Long ago. That's when I quit
listening and started looking at it from a Windows programming point of
view.

Hell, if all those methods don't work for you then get your window handle
and copy the bitmap off of it. Scale it how you want, dither it how you
want, do whatever you want to it and BitBlt it to the printer of your
choice.

In any case, you are most definitely not limited to the printer the VEE
runtime starts out with! This is PROGRAMMING!! You're limited only by your
imagination.
-SHAWN-


---
You are currently subscribed to vrf as: kunkel@hansa.de
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@it.lists.it.agilent.com".

If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".

---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@it.lists.it.agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".

Outcomes