Sign in to follow this  
Followers 0
infernothebest

printer add registry

5 posts in this topic

#1 ·  Posted (edited)

i made a registry file from all printers in the company, and i have all drivers installed and know thje place for it.

autoit must chose if it is win2k or winxp if XP run winxp.reg if win2k win2k.reg second it must replace the d-gx260-xp frase with computername must move the map spool 2 C:\WINNT(Win2k) or WINDOWS(WINXP)\system32\

thats it, i hope you guys can help me

Edited by infernothebest

Share this post


Link to post
Share on other sites



i made a registry file from all printers in the company, and i have all drivers installed and know thje place for it.

autoit must chose if it is win2k or winxp if XP run winxp.reg if win2k win2k.reg second it must replace the d-gx260-xp frase with computername must move the map spool 2 C:\WINNT(Win2k) or WINDOWS(WINXP)\system32\

thats it, i hope you guys can help me

Most of that can be found in the help file.

Give it a try and post back when you get stuch showing what you have tried.



Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

I didnt came ferther

FileWrite("C:\1.txt", @OSVersion)
Run("C:\1.txt")
WinWaitActive("1.txt")

If ControlGetText ( "", "win2k")Then

FileOpen("win2k.reg")
ControlSetText ("", "d-gx260-xp", "", @ComputerName)

Else

FileOpen("winxp.reg")
ControlSetText ("", "d-gx260-xp", "", @ComputerName)

EndIf
Edited by infernothebest

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

I didnt came ferther

FileWrite("C:\1.txt", @OSVersion)
Run("C:\1.txt")
WinWaitActive("1.txt")

If ControlGetText ( "", "win2k")Then

FileOpen("win2k.reg")
ControlSetText ("", "d-gx260-xp", "", @ComputerName)

Else

FileOpen("winxp.reg")
ControlSetText ("", "d-gx260-xp", "", @ComputerName)

EndIf
Try something like...

$OS = OSVersion

If $OS = "WIN_2000" then Run ("Regedit.exe /s W2kRegFile.reg", @ScriptDir)

etc

Edited by ChrisL

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0