Application.ActivePrinter returning OLD printer

R

Rick

A few months ago I upgraded to Word 2007. Separately from that, just
this week our company moved to a new office and we all now have a
different set of printers installed on our machines.

I've just noticed that if I create a one-line macro:

ret = MsgBox("Application.ActivePrinter = " +
Application.ActivePrinter)

and run it even when no document is open, it displays the name of the
printer that I had as my default printer **in our old office**. It's
weird because I no longer have that printer available.

Where is this coming from? Is it stored in NORMAL.DOCM (which I
created in our old office)? I wouldn't think the template is open
because no document is open. And I didn't realize printers are stored
in template files. Thanks for any help.
 
G

Graham Mayor

There are two issues here

1. Word when opened applies the default printer *driver* selected in
Windows. Is your non-existant printer still listed when you open the Print
dialog? Simply removing or replacing the printer will not (by itself) affect
the driver. If the replacement printer is of similar type e.g. both use PCL
language, then the old driver will probably work quite happily with the
replacement printer. The answer to that therefore is to check what printer
drivers are installed in Windows and make the changes required.

2. You say you created 'normal.docm'. The default template for Word 2007 is
normal.dotm and only Word can create it. You can edit the template Word
creates, but you cannot make your own. If there is a document on screen it
will be attached to some template or other. Check from the developer tab on
the ribbon > template.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top