Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Sorry, but another printer question

 
Logged in as: Guest
arrSession:exec spGetSession 2,7,33496
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [General Forum] >> Other Programming/Scripting Languages >> Sorry, but another printer question
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Sorry, but another printer question - 4/13/2006 11:46:19 AM   
  Flue

 

Posts: 2
Score: 0
Joined: 4/12/2006
Status: offline
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
 
 
Post #: 1
 
 RE: Sorry, but another printer question - 4/14/2006 7:40:37 AM   
  Snipah


Posts: 1341
Score: 6
Joined: 11/1/2004
From: Netherlands
Status: offline
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

(in reply to Flue)
 
 
Post #: 2
 
 RE: Sorry, but another printer question - 4/14/2006 11:20:21 PM   
  Flue

 

Posts: 2
Score: 0
Joined: 4/12/2006
Status: offline
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

(in reply to Snipah)
 
 
Post #: 3
 
 RE: Sorry, but another printer question - 4/16/2006 6:12:54 AM   
  Snipah


Posts: 1341
Score: 6
Joined: 11/1/2004
From: Netherlands
Status: offline
quote:

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

(in reply to Flue)
 
 
Post #: 4
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [General Forum] >> Other Programming/Scripting Languages >> Sorry, but another printer question Page: [1]
Jump to:





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
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts