Printer Object
 
Syntax
 
Result = Printer.SetText2RTF(Text)
 
Description
Converts a native string into a RTF formatted string with basic markup.
 
NOTE: this function works stand-alone and does NOT require a Printer.Init instruction
 
Parameter
Description
Text
A piece of native text that needs to be converted.
Result
When successful, the function returns the RTF formatted string.
See Also
Example
 
Sub Main
 
Dim txt$
 
txt$ = "Hello, World!" & vbNewLine & "Here I am!"
 
Msgbox Printer.SetText2RTF(txt$)
 
End Sub