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

Duplex printing in .net

P: n/a
I have two complex Word templates that also contain some Bookmarks for receiving database data dynamically. I'm using Word automation code within VB.NET to manipulate the template. I don't need to save the document - I simply open the template, write data to the bookmarks, then call PrintOut

However, one template is a two-sided document. I need to know how to change the printer settings to duplex prior to the PrintOut call in the one case, then back to one-sided in the other case

Jul 21 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Hello,

Thanks for your post. Please take a look at
System.Drawing.Printing.PrinterSettings which provides CanDuplex and Duplex
properties to determin and set the Printer for double-sided printing.

PrinterSettings.CanDuplex Property
http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfSystemDrawingPrintingPrinterSettingsClassCanD uplexTopic.asp

PrinterSettings.Duplex Property
http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfsystemdrawingprintingprintersettingsclassdupl extopic.asp

Hope this helps.

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Jul 21 '05 #2

P: n/a
Hello,

Thanks for your post. Please take a look at
System.Drawing.Printing.PrinterSettings which provides CanDuplex and Duplex
properties to determin and set the Printer for double-sided printing.

PrinterSettings.CanDuplex Property
http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfSystemDrawingPrintingPrinterSettingsClassCanD uplexTopic.asp

PrinterSettings.Duplex Property
http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfsystemdrawingprintingprintersettingsclassdupl extopic.asp

Hope this helps.

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Jul 21 '05 #3

P: n/a
Hi,

I would like to follow up on this issue and see if any progress has been
made. I haven't heard from you in 2 days, were you able to check my reply?
Should you have any questions, please feel free to post here.
Looking forward to your reply!

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Jul 21 '05 #4

P: n/a
Hello,

Sorry for the misunderstanding. Unfortunately, there is not a direct
command that you can issue that causes a document to print duplex when
automating Word. To work around the problem, please check the KB article
and see if it helps:

HOWTO: Make Word Print Duplex Using OLE Automation
http://support.microsoft.com/?id=194306

I look forward to your response.

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Jul 21 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.