Page History
...
Parameter | Description of Fields | Comments | Default |
---|---|---|---|
Parm1 – TextRTF | <1> TextRTF | RTF text | "" |
See also
TEXT Set_Printer message
Remarks
In order to place colors or anything that is a not single font and its simple attributes (bold, italic, underline), you need to provide the RTF header yourself in the code. The easiest way to do this is to create a document in WordPad, save it, open it in Notepad and copy the code into your Basic+ code. (See the below example).
Example
Code Block |
---|
/* The following example shows how to use the TEXTRTF message to bold text in the middle of a paragraph. */ declare function Set_Printer stat = Set_Printer("INIT") ;* Start printing stat = Set_Printer("TEXTRTF", "This is a {\b simple} RTF test.") stat = Set_Printer("TERM") ;* End printing |
...