←Select platform

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 
   ''' <!--Leadtools.Printer.Printer.GetPrinterInfo--> 
      If Printer.IsLeadtoolsPrinter(printerName) Then 
   ''' <!--Leadtools.Printer.Printer.GetPrinterInfo--> 
   ''' <!--Leadtools.Printer.Printer.Install--> 
         If (Printer.IsLeadtoolsPrinter(printerName)) Then 
         printerInfo.Url = "http://www.LeadtoolsPrinterDriver.com" 
   ''' <!--Leadtools.Printer.Printer.Install--> 
   ''' <!--Leadtools.Printer.Printer.Specifications--> 
         If (Printer.IsLeadtoolsPrinter(printerName)) Then 
         printerInfo.Url = "http://www.LeadtoolsPrinterDriver.com" 
   ''' <!--Leadtools.Printer.Printer.Specifications--> 
   ''' <!--Leadtools.Printer.Printer.RemoteData--> 
   ''' <!--Leadtools.Printer.Printer.RemoteData--> 
   ''' <!--Leadtools.Printer.Printer.EnableInternetPrinting--> 
   ''' <!--Leadtools.Printer.Printer.EnableInternetPrinting--> 
 
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Printer Assembly