From b0d317ba522aa5af2f1f79236bafd44ad960b525 Mon Sep 17 00:00:00 2001 From: USER Date: Mon, 11 Aug 2025 12:51:29 +0100 Subject: [PATCH] update batch files --- bin/l_AdminFixPrinters.bat | 24 ++++++++++++++++++++++++ bin/l_FixPrinters.bat | 24 ++++++++++++++++++++++++ l_AddPrinters.bat | 24 ++++++++++++++++++++++++ 3 files changed, 72 insertions(+) diff --git a/bin/l_AdminFixPrinters.bat b/bin/l_AdminFixPrinters.bat index 99b2727..802207c 100644 --- a/bin/l_AdminFixPrinters.bat +++ b/bin/l_AdminFixPrinters.bat @@ -39,6 +39,22 @@ if "%check_computername%" EQU "SURGERY4" ( set PRINTER=3 ) +if "%check_computername%" EQU "SURGERY5" ( + set PRINTER=3 +) + +if "%check_computername%" EQU "SURGERY6" ( + set PRINTER=3 +) + +if "%check_computername%" EQU "SURGERY7" ( + set PRINTER=3 +) + +if "%check_computername%" EQU "SURGERY8" ( + set PRINTER=3 +) + if "%check_computername%" EQU "RECEPTION1" ( set PRINTER=1 ) @@ -55,6 +71,14 @@ if "%check_computername%" EQU "RECEPTION4" ( set PRINTER=1 ) +if "%check_computername%" EQU "RECEPTION5" ( + set PRINTER=1 +) + +if "%check_computername%" EQU "RECEPTION6" ( + set PRINTER=1 +) + @REM if [%ZUPER%] == [1] ( @REM echo "Not installing printers" @REM ) else ( diff --git a/bin/l_FixPrinters.bat b/bin/l_FixPrinters.bat index 00ff9a1..c25aab5 100644 --- a/bin/l_FixPrinters.bat +++ b/bin/l_FixPrinters.bat @@ -39,6 +39,22 @@ if "%check_computername%" EQU "SURGERY4" ( set PRINTER=3 ) +if "%check_computername%" EQU "SURGERY5" ( + set PRINTER=3 +) + +if "%check_computername%" EQU "SURGERY6" ( + set PRINTER=3 +) + +if "%check_computername%" EQU "SURGERY7" ( + set PRINTER=3 +) + +if "%check_computername%" EQU "SURGERY8" ( + set PRINTER=3 +) + if "%check_computername%" EQU "RECEPTION1" ( set PRINTER=1 ) @@ -55,6 +71,14 @@ if "%check_computername%" EQU "RECEPTION4" ( set PRINTER=1 ) +if "%check_computername%" EQU "RECEPTION5" ( + set PRINTER=1 +) + +if "%check_computername%" EQU "RECEPTION6" ( + set PRINTER=1 +) + if [%ZUPER%] == [1] ( echo "Not installing printers" ) else ( diff --git a/l_AddPrinters.bat b/l_AddPrinters.bat index 984ac74..b8aa629 100644 --- a/l_AddPrinters.bat +++ b/l_AddPrinters.bat @@ -39,6 +39,22 @@ if "%check_computername%" EQU "SURGERY4" ( set PRINTER=3 ) +if "%check_computername%" EQU "SURGERY5" ( + set PRINTER=3 +) + +if "%check_computername%" EQU "SURGERY6" ( + set PRINTER=3 +) + +if "%check_computername%" EQU "SURGERY7" ( + set PRINTER=3 +) + +if "%check_computername%" EQU "SURGERY8" ( + set PRINTER=3 +) + if "%check_computername%" EQU "RECEPTION1" ( set PRINTER=1 ) @@ -55,6 +71,14 @@ if "%check_computername%" EQU "RECEPTION4" ( set PRINTER=1 ) +if "%check_computername%" EQU "RECEPTION5" ( + set PRINTER=1 +) + +if "%check_computername%" EQU "RECEPTION6" ( + set PRINTER=1 +) + if [%ZUPER%] == [1] ( echo "Not installing printers" ) else (