fcjoe Posted March 7, 2012 Share Posted March 7, 2012 Hello,I have a script that installed network printers (shared on a Windows server). Unfortunatly I lost the source code and now I need to rewrite it for a new printer server and printers and work on Windows 7. I wrote it a long time ago. Best I can remember was it was converted from a VBScript and all you had to do was specify the path (\\servername\printername). No loading drivers or any of that other stuff. I tried looking for the sample script i originally found on here years ago but all I can find are post about installing local printers or network printers not on a Windows server. Can anyone help?Thanks,Joe Link to comment Share on other sites More sharing options...
spudw2k Posted March 7, 2012 Share Posted March 7, 2012 Perhaps these RUNDLL parameters can accomplish what you need? http://www.robvanderwoude.com/2kprintcontrol.php Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX BuilderMisc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retreive SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose ArrayProjects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalcCool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF Link to comment Share on other sites More sharing options...
Bert Posted March 7, 2012 Share Posted March 7, 2012 The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
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