Share via


Printer Class

Provides a Printer object for use by upgraded Visual Basic 6.0 printing code.

Namespace:  Microsoft.VisualBasic.PowerPacks.Printing.Compatibility.VB6
Assembly:  Microsoft.VisualBasic.PowerPacks.Vs (in Microsoft.VisualBasic.PowerPacks.Vs.dll)

Syntax

'Declaration
Public Class Printer
'Usage
Dim instance As Printer
public class Printer
public ref class Printer
public class Printer

Remarks

The Visual Basic 6.0 Printer object has no direct equivalent in Visual Basic 2008. The Printer object provides all the properties, methods, and events of the Visual Basic 6.0 Printer object. This enables Visual Basic 6.0 printing code to run after upgrade.

Note

Functions and objects in the Microsoft.VisualBasic.PowerPacks.Printing.Compatibility.VB6 namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic 2008. In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.

Inheritance Hierarchy

System.Object
  Microsoft.VisualBasic.PowerPacks.Printing.Compatibility.VB6.Printer

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Printer Members

Microsoft.VisualBasic.PowerPacks.Printing.Compatibility.VB6 Namespace

Other Resources

Printer Compatibility Library

How to: Fix Upgrade Errors by Using the Printer Compatibility Library (Visual Basic)

Deploying Applications That Reference the Printer Compatibility Library