Click to See Complete Forum and Search --> : Excel 97 VBA: Retrieve available printers?
coox
Nov 1st, 1999, 04:03 PM
I need to gather all available printers - any ideas?
coox
Nov 2nd, 1999, 04:02 PM
What? No one knows?
billwagnon
Nov 2nd, 1999, 09:18 PM
I have no idea. Sorry. :(
Howard Stern
Nov 2nd, 1999, 09:30 PM
i also have no idea. :(
jimdalby
Nov 2nd, 1999, 09:40 PM
do u mean ALL available printers, like ones over networks and stuff, or only local ones??
------------------
jimmy
ICQ:35813919
mail:jim@rdalby.f9.co.uk
coox
Nov 2nd, 1999, 09:45 PM
Jim, all printers available from a given machine, ie all the ones you can see when you go into print setup or whatever (including fax drivers and all that crap). I think I should get a prize for asking a question that no one (so far) can answer, eh?
vbehyr
Aug 8th, 2002, 07:33 AM
I don't use Excel but this is how to do it in vb.
For Each pr In Printers
MsgBox pr.DeviceName
Next
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.