Changes

Jump to: navigation, search

Printer drivers

1,287 bytes added, 05:39, 29 May 2012
Add Samsung ML-2570 section
<remove cmd="net start spooler" />
</package>
</packages>
 
</source>
 
 
 
=== Samsung ML-2570 Series (Requires WPKG 1.2.1-RC20 or higher) ===
 
''Tested with Windows XP only.''
 
Script to install drivers and network printer (IP-port connection) without printui.dll (It may be helpfull if printer setup not work under domain user in Windows XP)
 
<source lang="xml">
<packages>
 
<package
id="samsung_net_prn"
name="Network printer setup"
revision="1"
reboot="false"
priority="10">
<variable name="port" value="192.168.1.11" />
<variable name="name" value="Network printer" />
<variable name="model" value="Samsung ML-2570 Series PCL 6" />
<check type="registry" condition="exists" path="HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers\%name%\" />
<install cmd='cscript %WINDIR%\system32\prnport.vbs -a -r IP_%port% -h %port% -o raw -n 9100' />
<install cmd='cscript %WINDIR%\system32\prndrvr.vbs -a -m "%model%" -v 3 -e "Windows NT x86" -i \\server\wpkg\installers\printers\samsung_ml-2570\WinXP2K\ml2570.inf' />
<install cmd='cscript %WINDIR%\system32\prnmngr.vbs -a -p "%name%" -m "%model%" -r IP_%port%' />
<remove cmd='cscript %WINDIR%\system32\prnmngr.vbs -d -p "%name%"' />
<remove cmd='cscript %WINDIR%\system32\prnport.vbs -d -r IP_%port%' />
</package>
 
</packages>
Anonymous user

Navigation menu