Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RichTextBox - printing text

Status
Not open for further replies.

MangroBongacello

Programmer
Mar 20, 2001
189
SI
Hi,

how can I tell the printer which font to use when printing text in a rich textbox control? I need to print with one of those fonts, where all the characters have the same width. When using the SelPrint method, the printer font isn't the same as in the rich textbox control. Any ideas?

Thank you, Mangro
 
Check that the font that you are using in the RTB is a TrueType font. Quite a lot of the fixed width fonts are not TrueType, and will print differently on a printer, and sometimes differently again on other printers.
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'People who live in windowed environments shouldn't cast pointers.'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top