Results 1 to 8 of 8

Thread: Detecting Default Printer --> Resolved - Thank you :)

Threaded View

  1. #1

    Thread Starter
    Frenzied Member RudyL's Avatar
    Join Date
    Mar 2001
    Location
    Chicago
    Posts
    1,519

    Question Detecting Default Printer --> Resolved - Thank you :)

    I have this code in which I read all the printers on the PC, it works just fine..

    VB Code:
    1. For Each OBJ In Printers
    2.     Call frmSelPrinter.cboPrinters.AddItem(OBJ.DeviceName)
    3. Next

    My question is once I have done this and I have all the printers loaded into my combo box I want to set the index to the one that is the default printer. However I do not know how to detect which one is the default printer.. Can some one please help meout with this?

    Thank you

    Rudy
    Last edited by RudyL; Mar 11th, 2004 at 02:06 PM.
    10 different ways to skin a cat and amazingly enough each and every one has the same result, the cat gets skinned! The same can be applied to code, so be nice and accept each others "preferences".

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