By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,743 Members | 1,028 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,743 IT Pros & Developers. It's quick & easy.

Set print duplex when using browser control.

P: 2
Hi,

Can anyone who can help me out if possible.


At the moment, I'm working on a window application (vb.net) which
print out html document's through a default network printer.
I'm using browser control
Dim IE As SHDocVw.InternetExplorer)
....
....
IE.ExecWB(OLECMDID_PRINT, OLECMDEXECOPT_DONTPROMPTUSER)


before calling browser control, I've used System.printing library to
set printer in duplex mode but no luck at all.


ps.Duplex = System.Drawing.Printing.Duplex.Horizontal
ps.DefaultPageSettings.PrinterSettings.Duplex = Duplex.Horizontal


Any idea?


Thanks in advance!
Aug 17 '07 #1
Share this Question
Share on Google+
1 Reply


P: 2
Hi,

Still no body can solve this problem?
Jan 2 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.