Switching Printers Within a Document

G

George Shubin

I'm trying to print different sections of a document to different printers,
and am trying to use the following logic, which I thought would work, but,
alas, I am wrong.

ActivePrinter = "PRINTER1"
ActiveDocument.PrintOut Range:=wdPrintFromTo, From:="1", To:="4"
ActivePrinter = "PRINTER2"
ActiveDocument.PrintOut Range:=wdPrintFromTo, From:="5", To:="5"
ActivePrinter = "PRINTER3"
ActiveDocument.PrintOut Range:=wdPrintFromTo, From:="6", To:="7"

It seems that whatever printer I assign in the first line is the one that is
held to in all three print commands. How can I accomplish what I need to
do?

Thanks.

GS
 

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