Update LexmarkPrinterInstall.ps1

This commit is contained in:
2026-06-17 14:20:33 +01:00
parent a315ea49ce
commit 185ca96f80
+2 -2
View File
@@ -13,8 +13,8 @@ if (-not (Test-Path -Path $InfPath)) {
Write-Host "Driver INF found at $InfPath." -ForegroundColor Green Write-Host "Driver INF found at $InfPath." -ForegroundColor Green
} }
Write-Host "" Write-Host ""
$IPAddress = Read-Host -Prompt "Enter the printer's IP address (e.g., 10.59.121.22)" $IPAddress = Read-Host -Prompt "Enter the printer's IP address (e.g., 192.168.1.50)"
$PrinterName = Read-Host -Prompt "Enter the custom name for this printer (e.g., Skoda Sales)" $PrinterName = Read-Host -Prompt "Enter the custom name for this printer (e.g., Service printer)"
$IPAddress = $IPAddress.Trim() $IPAddress = $IPAddress.Trim()
$PrinterName = $PrinterName.Trim() $PrinterName = $PrinterName.Trim()
$PortName = "IP_$IPAddress" $PortName = "IP_$IPAddress"