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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting printer name

Status
Not open for further replies.

jender624

Programmer
Jul 1, 2003
50
US
How do I get the printer that my machine is connected to through vba code?

Thanks,

jender624
 
jender624
Are you using Access 2000, or 2002?

If you are using Access 2000, Microsoft Knowledge Base has an article 200611 which shows how to enumerate existing printers, both local and network.

Also, here's another link...

If you are using Access 2002, I have some code in a book that will work, and it has only a few lines.

Tom
 
I'm using 2000. I think I can use the information provided on the web page you listed. Thanks, this was just was I was looking for!

jender624
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top