Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Duplex Print

Status
Not open for further replies.

Parkaboy

MIS
Dec 2, 2002
22
US
Want to duplex print a word document from VB6. Entered the following code
to set the property:

Printer.Duplex = (vbPRDPVertical)

returns an invalid property value error msg.
Document printer great otherwise. How else does one print on both sides???

Thanks
 
Assuming you can manually print duplex from Word (ie the printer supports it), I think the problem is that you need to specify duplex in the PrintOut method of the Word server but it's only supported in the Mac version. There's an article in the KB: that shows how to use some API calls instead.

A quick way of testing if this is the solution, is to download a trial copy of PDXPro (ActiveX DLL) from my web site. It uses only API functions to get printer capabilities and get/set printer settings. It includes a test bench app with full source code to try everything out. If PDXPro sets duplex successfully then the kb article should work for you.

Paul Bent
Northwind IT Systems
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top