.
This commit is contained in:
6
test.bat
6
test.bat
@ -61,14 +61,16 @@ if [%ZUPER%] == [1] (
|
||||
if [%PRINTER%] == [1] (
|
||||
echo "Installing Brother"
|
||||
@REM %EXE% -ExecutionPolicy Bypass -File %BROTHERPS%
|
||||
rundll32 printui.dll,PrintUIEntry /in /n \\192.168.1.22\brother
|
||||
@REM rundll32 printui.dll,PrintUIEntry /in /n \\192.168.1.22\brother
|
||||
cscript "C:\Windows\System32\Printing_Admin_Scripts\en-US\prnmngr.vbs" -ac -p "\\192.168.1.22\brother"
|
||||
@REM rundll32 printui.dll,PrintUIEntry /y /n \\server_name\printer_name
|
||||
)
|
||||
if [%PRINTER%] == [2] (
|
||||
echo "Installing Zebra"
|
||||
@REM %EXE% -ExecutionPolicy Bypass -File %ZEBRAPS%
|
||||
CD C:\WINDOWS\SYSTEM
|
||||
rundll32 printui.dll,PrintUIEntry /in /n \\192.168.1.21\zebra
|
||||
@REM rundll32 printui.dll,PrintUIEntry /in /n \\192.168.1.21\zebra
|
||||
cscript "C:\Windows\System32\Printing_Admin_Scripts\en-US\prnmngr.vbs" -ac -p "\\192.168.1.21\zebra"
|
||||
@REM rundll32 printui.dll,PrintUIEntry /y /n \\server_name\printer_name
|
||||
)
|
||||
if [%PRINTER%] == [3] (
|
||||
|
||||
Reference in New Issue
Block a user