Results 1 to 3 of 3

Thread: default printer

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jun 1999
    Location
    St. Louis MO USA
    Posts
    18

    Post

    Is there a way to change the default printer with code ?? If so what is it. I know the user can change the default printer with the common dialog box but I'm having a problem when I try to do it with code. Any help is appreciated

    [This message has been edited by raicheman (edited 01-03-2000).]

  2. #2
    Member
    Join Date
    Dec 1999
    Posts
    41

    Post

    If u r on NT, u can use
    "net use" command.
    After constructing the command use Shell function to run it..

  3. #3
    Junior Member
    Join Date
    Dec 1999
    Posts
    17

    Post

    Yes, you can use "net use ...." but that will not set the printer as default. It will simply add it. I'm not sure how you would do that in VB, but I know how to do it in Kix Script. You can write a Kix script and use a shell command to run it. If you want to do it using Kix and need help just e-mail me and I will be glad to help you.


    Thanks

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