Printing the contents of an RTF Textbox control...
-
I've created an application for logging various events in an RTF textbox with lots of formatted text and graphics etc. Now I'd like to be able to print the contents. But! I can't find any simple way to do this... One solution I've found saves the contents to disk as a .rtf document and then gets wordpad to print it. This works and produces very nice output - however wordpad doesn't support headers and footers and I really need to add date and timestamps plus page numbers to the bottom of each page. Does anyone know of a simple way, or a good resource which describes how to print the contents of an RTF textbox? Many thanks for your kind help. John.
-
I've created an application for logging various events in an RTF textbox with lots of formatted text and graphics etc. Now I'd like to be able to print the contents. But! I can't find any simple way to do this... One solution I've found saves the contents to disk as a .rtf document and then gets wordpad to print it. This works and produces very nice output - however wordpad doesn't support headers and footers and I really need to add date and timestamps plus page numbers to the bottom of each page. Does anyone know of a simple way, or a good resource which describes how to print the contents of an RTF textbox? Many thanks for your kind help. John.
-