Login | |
|
 |
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
|
|
| |
|
|
|
 |
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
|
|
| |
|
|
|
 |
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
|
|
| |
|
|
|
|
|