Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.pagelayout
Senthil Senthil is offline
external usenet poster
Posts: 11
Default 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.

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$,

--Set the trays
WordBasic.FilePageSetup applypropsto:=4, FirstPage:=nFirstPageTray,

--Print the ducment
WordBasic.FilePrint Background:=1

Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Print Frist 2 pages in First Page Tray & others in other pages tra Senthil Page Layout 12 June 5th 10 06:21 AM
First page prints from tray 2, remaining pages from tray 1 Jeremy Frank Microsoft Word Help 1 December 3rd 08 09:41 PM
How to print pages 1 and 4 on one page and pages 2 and 3 on the ba mdinning Page Layout 1 November 10th 07 03:05 PM
Page numbering for different pages & different header & footer shrinivas Page Layout 1 March 24th 07 02:44 PM
labels will only print one page in MS Word 2nd & 3rd pages don't p molatar Mailmerge 2 February 26th 06 10:01 PM

All times are GMT +1. The time now is 02:29 AM.

Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Copyright 2004-2023 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.

About Us

"It's about Microsoft Word"