default printing settings

  • Thread starter Thread starter Stefano
  • Start date Start date
S

Stefano

Is it possible to change the default printing settings of Word 2000? I
always need to print only a "selection", never "all" or some "pages"; but
very often I forget to make the rigth choise...
It would be very useful for me to have "selection" as the default choise.
I always have to print five copies, three in the standard mode, the other
two printing on both pages. Is it possibile to print them at the same time?
Sorry for my english.
Ste
 
Hi Stefano

You can't do what you want from the user interface. And, you can't set
up a print job to do 3 copies one way and 2 in another way without
programming that involves knowlege of your specific printer. But the
code below will default the File > Print dialog to print the selection,
and to print 3 copies, which may be better than nothing?

To use it, save this code in a module of normal.dot. If you're not sure
how to do that, see
http://www.gmayor.dsl.pipex.com/installing_macro.htm.

If you need to understand how this code works, see
http://www.mvps.org/word/FAQs/MacrosVBA/InterceptSavePrint.htm (which
explains how it is intercepting the File > Print command) and
http://www.mvps.org/word/FAQs/MacrosVBA/WordDlgHelp.htm (which explains
how to populate and display a built-in dialog box).

Hope this helps.

Shauna

Option Explicit

Sub FilePrint()
'Shauna Kelly, 7 November 2003
'for microsoft.public.word.docmanagement
'
'Pre-fill the File > Print dialog to print
'the selection and to print 3 copies

With Dialogs(wdDialogFilePrint)
On Error Resume Next
If Selection.Type = wdSelectionIP Then
'no text selected
.Range = 0 'whole document
Else
.Range = 1 'the selection
End If
On Error GoTo 0

.NumCopies = 3
.Show
End With

End Sub


Shauna Kelly. Microsoft MVP.
http://www.shaunakelly.com/word
Melbourne, Australia
 
Back
Top