Select a specific printer

J

Joe

I am using Word 2002 and Windows 2000. My clients may use Word 2000

I need to display the Printer dialog and have a specific printer displayed as the selected printer in the dislogs dropdown list

Does anyone know how to do this either by VBA or by API calls

Joe
 
A

Alex Ivanov

word.Dialogs(wdDialogFilePrint).Show

Alex.

Joe said:
I am using Word 2002 and Windows 2000. My clients may use Word 2000.

I need to display the Printer dialog and have a specific printer displayed
as the selected printer in the dislogs dropdown list.
 
D

Doug Robbins - Word MVP - DELETE UPPERCASE CHARACT

See the article “Changing the selected (current) printer in Word without
changing

the system default printer” at:

http://word.mvps.org/FAQs/MacrosVBA/ChangeCurPrinter.htm


--
Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
 
A

Alex Ivanov

Sub ShowPrint()
With Dialogs(wdDialogFilePrintSetup)
.Printer = "\\WASHINGTON_COUNTY\fMIS_PRT1_NDPS.ISRV.GOVS.washco"
'.Printer = "Exact Name of Your Printer"
.DoNotSetAsSysDefault = True
.Execute
End With
With Word.Dialogs(wdDialogFilePrint)
'.Show ' this method=.Display:.Execute
.Display
'You may override some properties here
.Execute
End With
End Sub
 

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