%@ CODEPAGE=65001 %> <% '------------------------------------------------------------ ' ' Microsoft Internet Printing Project ' ' Copyright (c) Microsoft Corporation. All rights reserved. ' ' Printer Installation Page ' '------------------------------------------------------------ Option Explicit %> <% Const NONE_STR = """none""" Const LINE_STR = """line""" Const BLOCK_STR = """block""" CheckSession Response.Expires = 0 Dim L_PrintInstall_Text Dim strEncodedName Dim bStartInstall L_PrintInstall_Text = OleCvt.ASPString(IDS_ASP_PRINTER_INSTALL) strEncodedName = strCleanRequest ("eprinter") if Len(strEncodedName) > MAX_ENCODED_PRINTER_NAME_LENGTH Then Call ErrorHandler(L_InvalidParameter_Text) On Error Resume Next Err.Clear if Session("StartInstall") = 1 Then Session("StartInstall") = 0 bStartInstall = TRUE Else bStartInstall = FALSE End If If Not bStartInstall Then Dim strView, strInitial strView = Request ("View") If strView = "" Then strView = "d" Select Case strView Case "p" strInitial = PROPERTY_VIEW Case "q" strInitial = QUEUE_VIEW Case "d" strInitial = Request(ASP1) If strInitial = "" Then strView = "q" strInitial = QUEUE_VIEW End If Case Else strView = "q" strInitial = QUEUE_VIEW End Select strInitial = strInitial & ATPAGE & CStr(Int(Rnd*10000)) Response.Redirect (strInitial) End If Response.Expires = 0 %> >
<%
Dim strPrtInstall_Text
strPrtInstall_Text = "" & OleCvt.ASPString(IDS_ASP_PRINTER_INSTALL) & ""
%>
<%=Write (strPrtInstall_Text)%>