diff --git a/printerlookup.asp b/printerlookup.asp index ab77df2..9d780b0 100644 --- a/printerlookup.asp +++ b/printerlookup.asp @@ -2,12 +2,13 @@ <% Option Explicit Response.Buffer = True +Dim objConn, rs %> <% ' Lookup printer by IP address or FQDN and redirect to displayprinter.asp ' Used by Zabbix to link directly to printer details -Dim ip, fqdn, lookupValue, cmd, rs +Dim ip, fqdn, lookupValue, cmd ip = Trim(Request.QueryString("ip") & "") fqdn = Trim(Request.QueryString("fqdn") & "")