Common Dialog changing orientation?

MikePage
06-23-2000, 12:22 PM
I'm trying to use the Common dialog control to change my default printer and the print orientation of selected printer. Easy enough... but doesn't seem to work on my NT 4.0 box? The printer.DeviceName changes but orientation will not change?

Here is the code. Am i missing something?

=========================================================
CommonDialog1.PrinterDefault = True
CommonDialog1.ShowPrinter
MsgBox Printer.DeviceName & " : " & Printer.Orientation
=========================================================

Mill
06-26-2000, 08:36 AM
I don't think that the common dialog box actually does anything, so I think you'll need to add something like this:
Printer.Orientation = CommonDialog1.Orientation
etc...

JonM
06-21-2002, 12:33 PM
I'm not sure how long ago that you posted this help responce, but I was having trouble with the printer orientation. I fought with it for over an hour and could not get it to work. I just wanted to let you know it helped me too and Thanks....
-- JonM

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum