Results 1 to 7 of 7

Thread: Excel 97 VBA: Retrieve available printers?

  1. #1

    Thread Starter
    Fanatic Member coox's Avatar
    Join Date
    Oct 1999
    Posts
    550

    Post

    I need to gather all available printers - any ideas?

  2. #2

    Thread Starter
    Fanatic Member coox's Avatar
    Join Date
    Oct 1999
    Posts
    550

    Post

    What? No one knows?

  3. #3
    Hyperactive Member billwagnon's Avatar
    Join Date
    Jul 1999
    Location
    St. Louis, Missouri, Mississippi Valley
    Posts
    290

    Post

    I have no idea. Sorry.

  4. #4
    Member
    Join Date
    Jun 1999
    Posts
    38

    Post

    i also have no idea.

  5. #5
    Lively Member
    Join Date
    Oct 1999
    Location
    Sheffield, Derbyshire, UK
    Posts
    68

    Post

    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

  6. #6

    Thread Starter
    Fanatic Member coox's Avatar
    Join Date
    Oct 1999
    Posts
    550

    Post

    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?

  7. #7
    Junior Member
    Join Date
    Nov 2001
    Posts
    24
    I don't use Excel but this is how to do it in vb.


    For Each pr In Printers
    MsgBox pr.DeviceName
    Next

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width