in reply to Printing specific pages of a word document

I beat myself over the head with OLE-Word for several days before I discovered that some older versions of Word do not seem to work as documented... I upgraded to Word2002 and all was well.
  • Comment on Re: Printing specific pages of a word document

Replies are listed 'Best First'.
Re^2: Printing specific pages of a word document
by Anonymous Monk on Mar 21, 2005 at 16:55 UTC
    Thanks Holli that worked perfectly! I took your advice and used word to create a macro then converted to this
    $Word->ActiveDocument->PageSetup({ Orientation => wdOrientPortrait, TopMargin => 14, BottomMargin => 14, LeftMargin => 42, RightMargin => 28, FirstPageTray => 260, OtherPagesTray => 260, });
    but this does not work at all. I am using word 2003 and just wondering if you have managed to so this one before?
      Can you define "not work"?


      holli, /regexed monk/
        Hi when I say "not work" I mean the there are no errors produced yet the pages print out unaltered by margins/paper tray etc.
        any ideas guys?