Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.pagelayout
|
|||
|
|||
Print Frist 2 pages in First Page Tray & others in other pages tra
I use one tray for Headed Paper and another for plain paper.
Using macro i print first page of the document to the headed paper and remaining pages in plain paper tray correctly. Now to be more eco-freindly, to avoid wastage of papers, i need to print the second page of the document to the headed paper back side. So ideally i need to Print Frist Two pages in First Page Tray & reamining pages in other pages tray (which is already duplexed). Need to if this is possible. Code --declare Dim sPrinterName$ Dim sPortName$ Dim nFirstPageTray Dim nOtherPagesTray -- assignment sPrinterName$ = 'assign print name sPortName$ = 'assign port name nFirstPageTray = ' assign "First Page Tray" nOtherPagesTray = ' assign "Other Pages Tray" --Set print details WordBasic.FilePrintSetup Printer:=sPrinterName$ + " on " + sPortName$, DoNotSetAsSysDefault:=1 --Set the trays WordBasic.FilePageSetup applypropsto:=4, FirstPage:=nFirstPageTray, OtherPages:=nOtherPagesTray --Print the ducment WordBasic.FilePrint Background:=1 Thanks Senthil |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
First page prints from tray 2, remaining pages from tray 1 | Microsoft Word Help | |||
How to print pages 1 and 4 on one page and pages 2 and 3 on the ba | Page Layout | |||
how to delete some pages entirely but not change anything of other pages'(including page header and page footer)? | Page Layout | |||
how to delete some pages but not change anything of other pages'(including page header and page footer)? | Page Layout | |||
how do i print multiple pages without a line separating pages in W | Microsoft Word Help |