How do I print a file (txt AND rtf files are needed) from VB6 straight from code to the printer – I do not want to have to use the RTF Control – basically looking for code that does the same but with-out having to load the RTF control on a form.
I assume this can be done with the printer control but I cannot get it to work – or rather, I cannot figure out how to do it.
If the file is RTF, the graphics have to also be printed.
Can this be done via API. If I right click on a Rtf file I can click on print to execute a print right away, so something must be controling this, like the file type being linked to WordPad.
PS. I can only use DLLs, or whatever that come with VB6 or the OS.