Results 1 to 5 of 5
  1. #1
    4 Star Lounger
    Join Date
    Jan 2001
    Location
    Dundee, Scotland
    Posts
    404
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Printer setup in Normal.dot

    [img]/w3timages/icons/scream.gif[/img]Word 97 problem. Apologies in advance if this has been covered...
    If I change the printer default tray in a style (from manual feed to default tray, say) this "sticks" for the active document and new documents. But how can I propagate this back to previous documents based on the style in question.

    Patiently waiting for a guru to help
    John (Unreconstructed Jacobite)

  2. #2
    Super Moderator
    Join Date
    Dec 2000
    Location
    New York, NY
    Posts
    2,970
    Thanks
    3
    Thanked 29 Times in 27 Posts

    Re: Printer setup in Normal.dot

    John,

    Unfortunately there doesn't seem to be any direct way to achieve this - documents' page setup properties are fixed 'at birth' - based on the template they are created from - very similar to the way it works with styles.

    In the case of styles, if the template has changed, you can update the styles in previous documents via Tools/Templates & Add-Ins, but a similar functionality for updating page setup information was not provided.

    If you have lots of these documents that now need updating, the best solution would be a macro to do this.

    Gary

  3. #3
    4 Star Lounger
    Join Date
    Jan 2001
    Location
    Dundee, Scotland
    Posts
    404
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Printer setup in Normal.dot

    Thanks Gary, I had a feeling that would be the answer. Anyone else.
    John (Unreconstructed Jacobite)

  4. #4
    Super Moderator
    Join Date
    Dec 2000
    Location
    New York, NY
    Posts
    2,970
    Thanks
    3
    Thanked 29 Times in 27 Posts

    Re: Printer setup in Normal.dot

    Hi John,

    The following is an attempt at a macro solution, but at least it's fairly unobtrusive.
    You might consider putting code like the following, into your Normal.dot:

    <pre>Private Sub Document_Open()
    With ActiveDocument.PageSetup
    If .FirstPageTray = wdPrinterManualFeed Then
    .FirstPageTray = wdPrinterDefaultBin
    .OtherPagesTray = wdPrinterDefaultBin
    End If
    End With
    End Sub</pre>

    (Note: the code needs to be placed in the "ThisDocument" private module in your Normal.dot - expand the tree view under Microsoft Word Objects to see the ThisDocument module, then right-click and click on View Code.)

    This would test and automatically adjust the printer settings, as you open any document based on Normal.dot.
    (I can't test this macro here (at home) due to my printer setup.)
    Anyway, it might be worth a try.

    Gary

  5. #5
    4 Star Lounger
    Join Date
    Jan 2001
    Location
    Dundee, Scotland
    Posts
    404
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Printer setup in Normal.dot

    Thanks Gary I'll give that a go when I get back from my loooong weekend[img]/w3timages/icons/devil.gif[/img]
    John (Unreconstructed Jacobite)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •