Sorry, but another printer question

Author Message
Flue

  • Total Posts : 2
  • Scores: 0
  • Reward points : 0
  • Joined: 4/12/2006
  • Status: offline
Sorry, but another printer question Thursday, April 13, 2006 12:46 PM (permalink)
0
I know how to default the a given printer, with vbs or a regisry edit, BUT, is it possible to check if a local printer is defaulted (LPT) and change it, but if a network work printer is already defaulted leave it defaulted.

In other words, say I have 5 network printers and one lpt printer, I want to default to a network printer, but if a user chooses another network printer, I don't want to change it on them.

Is this possible, or am I doomed to force a default no matter what. 

Thanks.

Flue
 
#1
    Snipah

    • Total Posts : 1339
    • Scores: 8
    • Reward points : 0
    • Joined: 11/1/2004
    • Location: Scotland
    • Status: offline
    RE: Sorry, but another printer question Friday, April 14, 2006 8:40 AM (permalink)
    0
    If a user chooses another printer, after your script has run, there is nothing to do, you don't want to have a script idle for the whole time.
     
    Best bet is to assign rights to a specific printer on the network for each user, and just have one printer assigned
    For more information, please see the "Read me First" topic.

    http://www.visualbasicscript.com
     
    #2
      Flue

      • Total Posts : 2
      • Scores: 0
      • Reward points : 0
      • Joined: 4/12/2006
      • Status: offline
      RE: Sorry, but another printer question Saturday, April 15, 2006 12:20 AM (permalink)
      0
      I would say we are doing that for about 80% of our systems. But then there are those that are beyond crap and are constantly being re-imaged or have floating users.  Our login scripts take care of everything but setting a default printer.  The default is letf on a PDF writter that drives me nuts.  Every new user of a system saves their print job as a pdf docu, then calls the help desk because they can't "find" the printer they sent their job to.

      If it's not possible to search before defaulting, what about using the RunOnce registry key.  I may need another forum for that one.

      Thanks for the reply.

      Flue
       
      #3
        Snipah

        • Total Posts : 1339
        • Scores: 8
        • Reward points : 0
        • Joined: 11/1/2004
        • Location: Scotland
        • Status: offline
        RE: Sorry, but another printer question Sunday, April 16, 2006 7:12 AM (permalink)
        0

        RunOnce

         
        This forum is very handy also for Registry tips and trick through VBScript...just use our Search functionality....
         
        You could default any printer other than the PDF Writer or the FAX printer....(which are both very default printers nowadays)
         
        Just like, i.e.:
         
        Select case Printer
        Case "PDF"
          'do nothing
        Case "Fax Manager"
         'do nothing
        Case Else
         Printer.MakeDefault
        End Select
        For more information, please see the "Read me First" topic.

        http://www.visualbasicscript.com
         
        #4

          Online Bookmarks Sharing: Share/Bookmark

          Jump to:

          Current active users

          There are 0 members and 1 guests.

          Icon Legend and Permission

          • New Messages
          • No New Messages
          • Hot Topic w/ New Messages
          • Hot Topic w/o New Messages
          • Locked w/ New Messages
          • Locked w/o New Messages
          • Read Message
          • Post New Thread
          • Reply to message
          • Post New Poll
          • Submit Vote
          • Post reward post
          • Delete my own posts
          • Delete my own threads
          • Rate post

          2000-2012 ASPPlayground.NET Forum Version 3.9