The commands that direct print output to different trays vary with the printer driver. I would think it quite a task to provide a universal solution where the printer is not known. You may find fellow MVP Jonathan West's article at http://pubs.logicalexpressions.com/Pub0009/LPMArticle.asp?ID=101 and mine at http://www.gmayor.com/fax_from_word.htm useful. Printing sections and parts of sections is simple enough if you add the section number to the pages to be printed eg p2s2 will print page 2 of section 2 and p1s1-p4s1 will print pages 1 to 4 of Section 1
-- <>>< ><<> ><<> <>>< ><<> <>>< <>><<> Graham Mayor - Word MVP
My web site www.gmayor.com Word MVP web site http://word.mvps.org <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Bod wrote:
[Quoted Text] > Hi! I want a doc to be able to print pages [1,2 and 4 on white paper] > and [3 + 5 to end on yellow paper]. > This is to be used my various users, so I have written 2 macros. > > The doc page setup is set to bypass tray - this means the user can > hit print and then either choose a standard tray or put yellow paper > in bypass and away it will go. (Incidentally, I am also dubious > about this page setup: paper: bypass tray:- whether that will apply > to all machines and all setups; including many users having their > Word docs open within IE (Windows Explorer option).) > > I need a page of instruction and the buttons to run the macros - > which I have made the first page so that it immediately appears to > users. > > If I make 2 sections, when the macro says print pages 1,2 and 4, as > there is a page 1 in each section, it prints the instruction page as > well, which is not needed. > > Can you tell me how to either make the macro so it prints only the > pages needed, or have 1 section, but number the pages so that page 2 > says "1", etc. If you know about the printing to bypass tray also - > and from within IE, that would help too. Thanks.
|