Results 1 to 2 of 2

Thread: Setting printers to default

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2000
    Posts
    81

    Post

    i can find all the printers on my network using vb code but need to be able to write code that picks up the current default printer setting and stores it then user selects the new setting and after printing has been done the old default setting automatically comes back in, im writing this for a fax solution that im doing any ideas would be great thanks!!!

  2. #2
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Post

    Just loop through the Printers Collection and search for the printer which is the current default. Save the index and restore to that printer after you have switched to the fax.

    Good luck!

    ------------------
    Joacim Andersson
    joacim@programmer.net
    joacim@yellowblazer.com
    www.YellowBlazer.com



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