Results 1 to 3 of 3

Thread: setting printer for just the session

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Dec 2000
    Location
    Princeton NJ
    Posts
    16

    setting printer for just the session

    My objective is to allow a user to select the printer they want to use during their VB application session. I was was using commondialog1 showprinter to display the print dialog box but found that the what they selected changed the new printer as the default printer, something I did not want to have happen. I did then try to set the printerdefault to false so that default change would not happen. However once I did that, any change I made in the printer selection window did not set the printer for the session.
    Am I using the right components here? Any help would be much appreciated!

  2. #2
    PowerPoster Arbiter's Avatar
    Join Date
    Sep 2000
    Location
    Manchester
    Posts
    2,276
    Maybe record the default printer before hand, let them select the printer, and at the end of the session restore the previous default?
    Gentile or Jew,
    O you who turn the wheel and look to windward,
    Consider Phlebas, who was once handsome and tall as you...

  3. #3
    PowerPoster Arbiter's Avatar
    Join Date
    Sep 2000
    Location
    Manchester
    Posts
    2,276
    I'm sure there is a better way, it's just I don't know it and no else has posted...

    Good luck anyway!
    Gentile or Jew,
    O you who turn the wheel and look to windward,
    Consider Phlebas, who was once handsome and tall as you...

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