Duplex Printing

G

Guest

I am using the code from Microsoft KB article Q230743 to print in duplex from
Excel 2003 in a WinXP SP2, Office 2003 environment.

The code appears to fail on the openprinter function. The code works in
Word 2003, but when used in Excel it fails.

Does anyone have any advice?
 
T

Tom Ogilvy

Excel doesn't have a printer object - so how are you getting the printer
name. ActivePrinter doesn't return just the printer name.
 
G

Guest

Tom Ogilvy said:
Excel doesn't have a printer object - so how are you getting the printer
name. ActivePrinter doesn't return just the printer name.

--
Regards,
Tom Ogilvy




I am trying to use Windows API to access the printer (ActivePrinter). Will this work, or is there another approach that I should be using?

regards

Paul.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top