EnableInternetPrinting Property

Summary

Enables or disables Internet printing.

Syntax
C#
VB
C++
public bool EnableInternetPrinting { get; set; } 
  
Public Property EnableInternetPrinting As Boolean 
public: 
property bool EnableInternetPrinting { 
   bool get(); 
   void set (    bool ); 
} 

Property Value

true to enable Internet printing; false, otherwise.

Remarks

Enable Internet printing in a running application to receive printed jobs from clients.

Example
C#
VB
using Leadtools.Printer; 
using Leadtools; 
 
public void EnableInternetPrintingExamples() 
{ 
   networkPrinter = new Printer("Test LEADTOOLS Printer"); 
   // Set Internet printing enable 
   networkPrinter.EnableInternetPrinting = true; 
 
   //Check Internet printing state 
   bool bInternetPrintingEnabled = networkPrinter.EnableInternetPrinting; 
   if (bInternetPrintingEnabled) 
      MessageBox.Show("Internet Printing Enabled"); 
   else 
      MessageBox.Show("Internet Printing Disabled"); 
} 
Imports Leadtools.Support.Examples 
Imports Leadtools.Printer 
Imports Leadtools 
 
Public Sub EnableInternetPrintingExamples() 
   networkPrinter = New Printer("Test LEADTOOLS Printer") 
   ' Set Internet printing enable 
   networkPrinter.EnableInternetPrinting = True 
 
   ' Check Internet printing state 
   Dim bInternetPrintingEnabled As Boolean = networkPrinter.EnableInternetPrinting 
   If (bInternetPrintingEnabled) Then 
      MessageBox.Show("Internet Printing Enabled") 
   Else 
      MessageBox.Show("Internet Printing Disabled") 
   End If 
End Sub 

Requirements

Target Platforms

See Also

Reference

Printer Class

Printer Members

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Printer Assembly