Hello

I have a form with a Rich Text Box. I have text in the box and the layout needs to stay as it is in the box when it prints. It looks like the font gets changed from the RT box to the printer so that the layout is not the same when it's printed as it is in the RT box. The RT box uses Courier New font. How do I get the printer to use the same font. Or is there something else going on that makes the printed look like a completely different font than the screen?

I tried the following but got an error message: invalid use of property. On debug it highlights Name.

Code:
Private Sub cmdPrint_Click()

Printer.Font.Name ("Courier New")

Printer.Print RichTextBox1.Text

Printer.EndDoc

End Sub
Thanks

David