LEADTOOLS Virtual Printer (Leadtools.Printer assembly)

EnableInternetPrinting Property

Show in webframe
Example 





Enables or disables Internet printing.
Syntax
public bool EnableInternetPrinting {get; set;}
'Declaration
 
Public Property EnableInternetPrinting As Boolean
'Usage
 
Dim instance As Printer
Dim value As Boolean
 
instance.EnableInternetPrinting = value
 
value = instance.EnableInternetPrinting

            

            
public:
property bool EnableInternetPrinting {
   bool get();
   void set (    bool value);
}

Property Value

true to enable Internet printing; false, otherwise.
Remarks
Enable Internet printing in a running application to receive printed jobs from clients.
Example
Copy Code  
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
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");
}
Requirements

Target Platforms

See Also

Reference

Printer Class
Printer Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Printer requires a Printer module license and unlock key. It is included as part of LEADTOOLS Document Imaging Enterprise. For more information, refer to: Imaging Pro/Document/Medical Features