Applies to: Global object
Type: Object
Returns or sets the new Printer object. It replaces the original VB.Printer object.
It is required in the client program (your program) that this code be added in a bas module:
Public Property Get Printer() As Printer Set Printer = PrinterReplacement End Property Public Property Set Printer(nPrinter As Printer) Set PrinterReplacement = nPrinter End Property