Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Specifying tray for HP8000 using VBA

5 views
Skip to first unread message

Adrian Bennett

unread,
Apr 26, 1999, 3:00:00 AM4/26/99
to
Hi

I'm using MS Word97 to print a document to a HP8000. One copy is printed on
plain paper, a second copy is printed on headed paper with the first page on
headed paper and subsequent pages on continuation sheets.

I've used the following code in VBA to try to specify which tray to use for
the relevant page.

With ActiveDocument.PageSetup
.FirstPageTray = wdPrinterUpperBin
.OtherPagesTray = wdPrinterLowerBin
End With
ActiveDocument.PrintOut

This always prints out on tray 2. I've tried changing the wdPrinterBin
values but with no success. Does anyone know what these values should be.

It is possible to do this manually so this this suggests that the printer is
correctly set up.

Any help will be appreciated asap.

Thanks
Adrian


0 new messages