It is very easy to print from the RichTextbox. Use the following statement:
fMainForm.ActiveForm.txtText.SelPrint (Printer.hDC)
However, it will send the text to the printer without any margins, so the text will be printed right on the edge of the sheet. However, it is possible to do this, just with much more code! Click here for more info.
Comments