AnsweredAssumed Answered

vrf AW: Printer scaling and orientation at runtime?

Question asked by VRFuser on Apr 7, 2003
Latest reply on Apr 13, 2003 by VRFuser

> 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

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

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

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

You are currently subscribed to vrf as:
To subscribe send a blank email to "".
To unsubscribe send a blank email to "".
To send messages to this mailing list,  email "". 
If you need help with the mailing list send a message to "".