Visual Basic 6.0 had an intrinsic Printer object that you could use without explicitly declaring it. In contrast, the Printer Compatibility library behaves like any other .NET Framework object; you must explicitly declare a .NET Framework Printer object before you can use it.
After you upgrade your project, you could add Printer object like this:
1) On the Project menu, click Add Reference.
2) In the Add Reference dialog box, on the .NET tab, click Microsoft.VisualBasic.PowerPacks.Printing.Printer, and then click OK.
3) In the Code Editor, add the following statement at the top of the module that contains your Visual Basic 6.0 Printer code:
Imports Microsoft.VisualBasic.PowerPacks.Printing.Compatibility.VB6
4) Add the following code at the top of the procedure that contains Printer code:
Public Printer As New Printer