468,747 Members | 1,653 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,747 developers. It's quick & easy.

Set print duplex when using browser control.

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
1 1915
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.

Similar topics

reply views Thread by KohlerTommy | last post: by
6 posts views Thread by CSharpguy | last post: by
3 posts views Thread by =?Utf-8?B?QnJ5YW4=?= | last post: by
1 post views Thread by CARIGAR | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.