Default Printer changes

P

papichulo111

Thru the control panel I have set my HP L7580 as the default printer. In
word, printing is regularly stopped because it says that I need to select a
default printer. This happens over and over. Is there some other setting I
need to change to fix this annoying problem?
 
G

Graham Mayor

I cannot say why this problem is happening, but adding the following macro
to the normal template should work around it.

Sub AutoExec()
Dim sPrinter As String
With Dialogs(wdDialogFilePrintSetup)
sPrinter = .Printer
.Printer = "HP L7580" 'Use the exact wording from the Printer dialog
.DoNotSetAsSysDefault = False
.Execute
End With
End Sub

This will force the named printer to be the default printer whenever Word is
started from the Start menu, or desktop shortcut..
http://www.gmayor.com/installing_macro.htm

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
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