This commit is contained in:
USER
2023-04-20 18:02:22 +01:00
parent b29f477687
commit fe88e3aed2

View File

@ -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] (