ID:185188
 
After a lot of searching, I just found on a VB forum that VB has a built-in printer object with an easy to use print function; just pass it a text value.
Printer.Print "tester"

Simple as that, apparently.

Does Visual Basic have a built-in function for printing to the printer, does anyone know? I'm after printing text, not graphics, though knowing the latter would be nice for future reference too.

Or, if not, would there happen to be a Windows API function that can take some text and print it? I searched for such an API function but couldn't find one.
VB.NET?

~Kujila
In response to Kujila
No, sorry I forgot to specify. Not .NET

I'm using just good ol' VB version 6.