Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pre-secect printer

Status
Not open for further replies.

dedo8816

Programmer
Oct 25, 2006
94
GB
How can i pre-select a printer via its name or network address without having to use a printer dialog box?

Thanks
 

You may start with:
Code:
Dim prt As Printer

For Each prt In Printers
    Debug.Print prt.DeviceName
Next prt

Have fun.

---- Andy
 
Hello dedo8816

Take a look at this thread.

Scroll down about 4 or 5 posts and look for the code I posted for getting/setting printers.

Make sure you get the all the code, their is a seperate function posted in another post a few posts down. I forgot to post with the orginal code.

Not sure if this will resolve your problem, but it's worth a try!


AccessGuruCarl
Programmers helping programmers
you can't find a better site.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top