Click the "Install" button below to automatically install the selected printer on your workstation.
Click any button below to install the printer automatically.
The example above uses install_printer.asp which generates a batch file that:
<!-- User-friendly link that downloads a pre-configured launcher -->
<a href="install_printer.asp?printer=CSF01-Materials-XeroxEC">Install Materials Printer</a>
User Experience: Click link → Download .bat file → Run .bat file → Printer installs automatically
<%@ Language=VBScript %>
<%
' Get printer name from query string
Dim printerName
printerName = Request.QueryString("printer")
' Sanitize input
printerName = Replace(printerName, """", "")
' Set headers to download as batch file
Response.ContentType = "application/octet-stream"
Response.AddHeader "Content-Disposition", "attachment; filename=Install_" & printerName & ".bat"
' Generate batch file that downloads and runs installer
Response.Write("@echo off" & vbCrLf)
Response.Write("powershell -Command ""Invoke-WebRequest -Uri 'https://yourserver/PrinterInstaller.exe' -OutFile '%TEMP%\PrinterInstaller.exe'""" & vbCrLf)
Response.Write("""%TEMP%\PrinterInstaller.exe"" /PRINTER=" & printerName & vbCrLf)
%>
<%
' Loop through printers from api_printers.asp
Dim url, response, printers, printer
url = "https://tsgwp00525.rd.ds.ge.com/shopdb/api_printers.asp"
' Fetch and parse JSON (requires JSON parser or manual parsing)
' Then generate links:
For Each printer In printers
Response.Write "<a href=""install_printer.asp?printer=" & printer.printerwindowsname & """>"
Response.Write "Install " & printer.printerwindowsname
Response.Write "</a><br>"
Next
%>
Naming format: CSFName-Location-VendorModel
Examples: CSF01-Materials-XeroxEC, CSF04-WJWT05-HPColorLaserJet
Generate QR codes that point to the ASP launcher:
https://tsgwp00525.rd.ds.ge.com/shopdb/install_printer.asp?printer=CSF04-WJWT05-HPColorLaserJet
Place QR code stickers on physical printers. Users scan → download .bat file → run → printer installs!
<!-- Engineering Department Page -->
<a href="install_printer.asp?printer=CSF04">Install Engineering Printer</a>
<!-- Materials Department Page -->
<a href="install_printer.asp?printer=CSF01">Install Materials Printer</a>
<!-- Show all Coaching printers (partial match) -->
<a href="install_printer.asp?printer=Coaching">Install Coaching Area Printers</a>
<!-- Download installer to browse all available printers -->
<a href="PrinterInstaller.exe" download>Download Full Printer Installer</a>
Before deploying, test your links: