View Single Post
  #9   Report Post  
Posted to microsoft.public.word.docmanagement
janice
 
Posts: n/a
Default Create non-printing pages in a word doc?

Hi Tony,

Thank you for your response - must confess I had given up. Next question -
how do I embed this code in the document? Sorry, but we seem to be way
beyond my realm of expertise now.... I did try simplistically pasting the
code in at the top of the doc - and tried finding steps in Help... no luck...
Thanks for your help!

"Tony Jollans" wrote:

Hi janice,

With code in the document (or its template if relevant) as follows, you can
set to print only page 2 by default.

Private Sub FilePrint()
Call PrintPage2
End Sub

Private Sub FilePrintDefault()
Call PrintPage2
End Sub

Private Sub PrintPage2()
With Application.Dialogs(wdDialogFilePrint)
.Range = 4
.Pages = "p2"
.Show
End With
End Sub


--
Enjoy,
Tony

"janice" wrote in message
news
The doc will be printed from a forms folder on our intranet, and not a
security issue - we're just looking for an automatic fix to save half the
paper...

"Tony Jollans" wrote:

I started to write a reply about intercepting the Print request (using a

Sub
FilePrint) - which could go some way towards it - but the more I thought
about it the more I realised that the most likely impact of anything you

did
would be total confusion. Are you trying for security purposes (in which
case you are probably wasting your time) or paper-saving ones?

--
Enjoy,
Tony

"janice" wrote in message
...
I have a 2-page document which will be used by other people. Is there

a
way
to set it up so that by default page one will never print? I know how

to
use
the print dialog to print current page, or print a range of pages, but
can't
come up with a way to imbed the command in the document itself so that
only
page 2 ever prints no matter who prints it.