EnableInternetPrinting Property
Summary
Enables or disables Internet printing.
Syntax
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.
Example
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