Results 1 to 9 of 9
  1. #1
    3 Star Lounger
    Join Date
    Nov 2002
    Location
    Belfast, Ireland
    Posts
    339
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Grrrr, Word switches my Printer (XP &/or 2003)

    OK, what's the story with Word? When I print a document, Word remembers what Printer I chose--in effect, changing my Default Printer. I have a hunch that this is an attempt to be helpful, but it's actually REALLY, REALLY irritating.

    If I print a Label, then start working on a new report, etc, guess what Printer Word wants to print my report to? Yep, the Label Printer, b/c it was the last Printer I used. Believe it or not, I don't want to print a 12-page report on a single Dymo Label.

    Is this a bug, or did some moron at Microsoft think this was a good idea? Hasn't MS learned that people hate Word trying to think for them?

    Please, please tell me that there's a way to stop Word doing this. Everyone in my organization thinks it's the most stupid, annoying thing ever! It even remembers the Number of Copies from document to document.

    HELP!

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Grrrr, Word switches my Printer (XP &/or 2003)

    I'm afraid that is the way Word behaves. Users have complained about it for a long time, but apparently MS is not interested in changing it. The only workaround is to create macros like this:

    Sub LabelPrint()
    ActivePrinter = "Label printer name"
    ActiveDocument.PrintOut
    ActivePrinter = "Default printer name"
    End Sub

    Substitute the names of the printers as displayed in the File | Print... dialog. You can assign this macro to a custom toolbar button.

  3. #3
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Grrrr, Word switches my Printer (XP &/or 2003)

    <P ID="edit" class=small>(Edited by jscher2000 on 10-Jan-04 17:48. Credit where due!)</P>Word helpfully remembers the printer, the number of copies, and whether you printed to file.

    Okay, so you don't like that. You can write an overriding print macro that restores these settings to a default. You just need a place to store the printer you prefer, or to extract from Windows what the system default printer is. Using the registry reading method, you could...

    <pre>Option Explicit
    ' Declare Windows API function to read the registry
    Private Declare Function GetProfileString Lib "kernel32" _
    Alias "GetProfileStringA" (ByVal lpAppName As String, _
    ByVal lpKeyName As String, ByVal lpDefault As String, _
    ByVal lpReturnedString As String, ByVal nSize As Long) As Long

    Sub FilePrintToDefaultPrinter()
    Dim strAPIreturn As String, strWinDefaultPtr As String
    ' Allocate string space
    strAPIreturn = Space(1024)
    ' Read system default printer from registry, truncate per return
    ' value of the API function
    strWinDefaultPtr = Left(strAPIreturn, GetProfileString("Windows", _
    "Device", "", strAPIreturn, Len(strAPIreturn)))
    ' Set Word's ActivePrinter (trimming off driver and port)
    ActivePrinter = Left(strWinDefaultPtr, _
    InStr(1, strWinDefaultPtr, ",") - 1)
    With Dialogs(wdDialogFilePrint)
    .NumCopies = 1
    .Show
    End With
    End Sub</pre>

    The line that does the hard work seems rather inside out, but it works. Hope this helps.

    Added: I was helped by finding Dylan Morley's <post#=101977>post 101977</post#> in a search. <img src=/S/smile.gif border=0 alt=smile width=15 height=15>

  4. #4
    Super Moderator
    Join Date
    Dec 2000
    Location
    Renton, Washington, USA
    Posts
    12,560
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Re: Grrrr, Word switches my Printer (XP &/or 2003)

    This is why I do NOT use the print icons, I always use the menu, File, Print and make sure that the printer I want is selected. It has saved my "behind" more times than one.
    Yes, I am on a home network with 2 and sometimes 3 printers.

    Now running HP Pavilion a6528p, with Win7 64 Bit OS.

  5. #5
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Grrrr, Word switches my Printer (XP &/or 2003)

    I did the opposite. I used Tools>Customize, and dragged the button for FilePrint to the toolbar. Then I removed the identical-looking FilePrintDefault button. That way, I always get the dialog. <img src=/S/smile.gif border=0 alt=smile width=15 height=15>

  6. #6
    Super Moderator
    Join Date
    Dec 2000
    Location
    Renton, Washington, USA
    Posts
    12,560
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Re: Grrrr, Word switches my Printer (XP &/or 2003)

    I got in this habit when I was working and we were on a very large domain network. The printers were always being added, deleted, and moved. I never knew what printer I would get and where it was. <img src=/S/bwaaah.gif border=0 alt=bwaaah width=123 height=15>

    Now running HP Pavilion a6528p, with Win7 64 Bit OS.

  7. #7
    Plutonium Lounger Leif's Avatar
    Join Date
    Dec 2000
    Location
    U.K.
    Posts
    14,010
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Grrrr, Word switches my Printer (XP &/or 2003)

    To get the best of all worlds, I have both, with the FilePrint... button coloured differently for easy identification. And if I am in doubt, hovering the cursor over the default Print button shows me by tooltip(?) which printer I'm about to print to....
    Attached Images Attached Images
    • File Type: gif x.gif (3.8 KB, 2 views)

  8. #8
    3 Star Lounger
    Join Date
    Nov 2002
    Location
    Belfast, Ireland
    Posts
    339
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Re: Grrrr, Word switches my Printer (XP &/or 2003)

    OK, thank you all for your helpful comments.
    <BEGIN RANT>
    As Hans pointed out, if people have been complaining about this for ages, you'd think MS would get a clue and realize that this is the very opposite of helpful. We have 5 Printers in our Office and, like most people I imagine, we have to print the occasional document to one of these 5 Printers, but the MAJORITY goes to . . . you guessed it . . . the DEFAULT Printer. Hmmmm, maybe that's why it's called the Default Printer, because people want documents to print, by default, to that printer--NOT the last printer they used. *SIGH*

    For a company as bright as Microsoft, they do some very, very DUMB things.
    </END RANT>
    Anyway, thanks again to everyone who replied; very much appreciated. I'm sure someone will ask me to add a Macro to their Toolbar. <img src=/S/doh.gif border=0 alt=doh width=15 height=15>

  9. #9
    Super Moderator
    Join Date
    Jan 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    3,852
    Thanks
    4
    Thanked 259 Times in 239 Posts

    Re: Grrrr, Word switches my Printer (XP &/or 2003)

    I haven't used Word 2003 yet so points 1 and 3 may not work in word 2003

    I disagree with your assessment. I actually like the way Microsoft do it and this is why.
    1. It doesn't actually change the default printer - it just remembers which printer was last used in this session of Word. If you exit Word and open it again, it will have reverted to your original default printer.
    2. Word needs to know what printer is selected in order to paginate the document correctly. If you paginate and then change the printer in the print dialog then the document will repaginate before it prints - this can cause big problems.
    3. If you really want to change the current printer and the default printer then you can call a dialog within Word that is not obtainable without using code...
    Sub SetDefaultPrinter()
    'Displays a dialog which allows the user to set default printer from Word
    Dialogs(97).Show
    End Sub
    Andrew Lockton, Chrysalis Design, Melbourne Australia

Posting Permissions

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