Q

Sending mail with fixed Courier font

I have some problems with the fonts using Notes. I have R4.6-servers, R4.6 clients and some R5 clients. My application will generate mails to clients. I use Notes RichText. The contents of the mail is set to font Courier by using richStyle.NotesFont = FONT_COURIER for better format.

     Dim richStyle As NotesRichTextStyle
     Set richStyle = s.CreateRichTextStyle
     richStyle.NotesFont = FONT_COURIER
     richStyle.FontSize = 10
     
     Set rtitem = New NotesRichTextItem(maildoc, "Body")
     Call rtitem.AppendStyle(richStyle)
     Set rtitemApprove = New NotesRichTextItem(maildoc, "Body")     
     Call rtitemApprove.AppendStyle(richStyle)

The problem is whenever R5 clients change the User Preferences/Basics/Default Fonts/Default Monospace font to font other than Courier, the original Courier font will be changed to the Default Monospace font and the positions of the contents will shift. I would like to know if there is a way to send the mail with 'HARDCODE' Courier font which cannot be overrided by the user's setting. I tried using R5 clients to compose and send mail with Courier font and the font does not changet. What make the cases different? Any comments will help. Thanks in advance.


Try using a monospaced TrueType font like Courier New. This should stay regardless of user settings.


This was first published in October 2001

Dig deeper on Lotus Notes Domino Administration Tools

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchWinIT

Search400

  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

SearchEnterpriseLinux

SearchVirtualDataCentre.co.UK

Close