mac_shinobi Posted September 13, 2005 Posted September 13, 2005 Kingswood had a vbscript that is simple yet effective with regards to adding a printer , setting it to default and it had a sleep time of aprox 1000 aka 1 second to give it a chance to add the connection or something like that, Any chance you or someone could post it Thanks and much appreicated !
StewartKnight Posted September 14, 2005 Posted September 14, 2005 this is the vbscript I use; hope it helps!!! Option Explicit Dim oNetwork, sPrintPath Set oNetwork = CreateObject("WScript.Network") sPrintPath ="\\192.168.2.250\Lexmark" oNetwork.AddWindowsPrinterConnection sPrintPath oNetwork.SetDefaultPrinter sPrintPath WScript.Quit Obviously I have the printer shared on the print server as "Lexmark"(don't ask!!!) and the print servers ip address. Run this at logon, and the printer will be the default
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now