Simplex/Duplex Printing

J

Jules

All of our printers are set to print duplex, however, there are times when
users need to print simplex and I am trying to set up a macro which changes
from duplex to simplex.

I have used the code in the following link
http://support.microsoft.com/?kbid=230743

As we are using Word 2000, I have changed "Printer.DeviceName" to
"ActivePrinter" and have reversed the duplex settings (ie. where it is 2 have
changed to 1 and vice versa).

The macro works perfectly if I use the code for UserForm1 from the link (ie.
creating a new Word Object and Document Object), however, I want to be able
to have the macro work on the open document (ActiveDocument) without having
to create a new word object/document object.

If I use:
"SetPrinterDuplex ActivePrinter, 1
ActiveDocument.PrintOut
SetPrinterDuplex Activeprinter, 2"
It still prints on duplex.

Is there any reason why you have a create a new word object/document object
to have this work properly?

Hopefully, this will make sense to someone and you will be able to answer my
questions.
 
G

Graham Mayor

It might be simpler just to add a copy of the printer driver. Set the
properties of one to simplex, the other to duplex then switch between them
using the method shown at http://www.gmayor.com/fax_from_word.htm

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
J

Jules

Thanks, I think we will probably go with your alternative. I just need to
wait now for our IT department to set up 2nd drivers for each of the printers
- something they won't allow me to do.
thanks for your help.
 

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