word printing from different paper tray issue

S

steeles

Hi all,

I am new to word macro/VB scripts programing, and I encounte problem here.

One two-page document, first page goes to tray 2, second page goes to tray
3, how can macro/VB scripts control this?

I have been trying this on VB script, but the paper always takes paper from
same tray 2 on HP 4350 printer.

ActiveDocument.PageSetup.FirstPageTray = wdPrinterUpperBin
ActiveDocument.PageSetup.OtherPagesTray = wdPrinterMiddleBin


I have been googled it for a while, but didn't have any luck to find a real
solution.

Is there any one has idea how to get this thing working?

Thanks in advance.
 
J

Jonathan West

steeles said:
Hi all,

I am new to word macro/VB scripts programing, and I encounte problem here.

One two-page document, first page goes to tray 2, second page goes to tray
3, how can macro/VB scripts control this?

I have been trying this on VB script, but the paper always takes paper
from same tray 2 on HP 4350 printer.

ActiveDocument.PageSetup.FirstPageTray = wdPrinterUpperBin
ActiveDocument.PageSetup.OtherPagesTray = wdPrinterMiddleBin


I have been googled it for a while, but didn't have any luck to find a
real solution.

Is there any one has idea how to get this thing working?


Take a look here

Controlling the Printer from Word VBA
Part 1: Using VBA to Select the Paper Tray
http://pubs.logicalexpressions.com/Pub0009/LPMArticle.asp?ID=101
 

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