Error occurred during http request {"data":"","status":0,"config":{"method":"GET","transformRequest":[null],"transformResponse":[null],"url":"https://dgps.support.microsoft.com/api/v1/AutoSuggestion?SearchTerm=&OSName=Windows 8&Culture=en-us","headers":{"Accept":"application/json, text/plain, */*"},"startTime":1446284484039},"statusText":""} https://preview.support.microsoft.com/bundles/jslibraries?v=7zWNoRr1mHRbVzieg2FG-DPR0MvOgfYmV0WRO-0N0CM1:1 How to disable client-side printing by using the EnableClientPrinting system property in SQL Server 2000 Reporting Services Service Pack 2

How to disable client-side printing by using the EnableClientPrinting system property in SQL Server 2000 Reporting Services Service Pack 2

This article has been archived. It is offered "as is" and will no longer be updated.
Beta Information
This article discusses a Beta release of a Microsoft product. The information in this article is provided as-is and is subject to change without notice.

No formal product support is available from Microsoft for this Beta product. For information about how to obtain support for a Beta release, see the documentation that is included with the Beta product files, or check the Web location where you downloaded the release.
Bug #: 367411 (SQLBUDT)
Introduction
This article describes how to disable client-side printing by using the new EnableClientPrinting system property that is introduced in Microsoft SQL Server 2000 Reporting Services Service Pack 2 (SP2).
MORE INFORMATION
In SQL Server 2000 Reporting Services SP2, a new Boolean system property has been added to let you disable or enable client-side printing. To disable client-side printing, set the EnableClientPrinting property to False. To enable client-side printing, set the EnableClientPrinting property to True. By default, the EnableClientPrinting property is set to True.

To set the property to False to disable client-side printing, follow these steps:
  1. Compile and then run the following Microsoft Visual Basic .NET code to set the EnableClientPrinting property to False :
    Imports SystemImports System.Web.Services.ProtocolsClass Sample   Public Shared Sub Main()	Dim rs As New ReportingService()      	rs.Credentials = System.Net.CredentialCache.DefaultCredentials        Dim props(0) As [Property]        Dim setProp As New [Property]        setProp.Name = "EnableClientPrinting"        setProp.Value = “False”         props(0) = setProp        Try            rs.SetSystemProperties(props)        Catch ex As System.Web.Services.Protocols.SoapException            Console.Write(ex.Detail.InnerXml)        Catch e as Exception            Console.Write(e.Message)        End Try    End Sub 'MainEnd Class 'Sample
  2. To apply the EnableClientPrinting system property change, you must restart Microsoft Internet Information Services (IIS). To do this, click Start, click Run, type iisreset, and then click OK.
For more information about SQL Server 2000 Reporting Services, visit the following Microsoft Web site:For more information about the SetSystemProperties method, visit the following Microsoft Developer Network (MSDN) Web site: For more information about how to obtain the latest service pack for SQL Server 2000 Reporting Services, click the following article number to view the article in the Microsoft Knowledge Base:
842440 How to obtain the latest service pack for SQL Server 2000 Reporting Services
Properties

Article ID: 897121 - Last Review: 01/17/2015 10:29:58 - Revision: 1.4

  • Microsoft SQL Server 2000 Reporting Services
  • kbnosurvey kbarchive kbhowto kbsqlserv2000reportservsp2fix kbbug kbfix KB897121
Feedback