Define a line as a field 79 characters (1 position for an attribute byte).
Then in your program populate that field with the contstant you want to display.
You can insert Hex values for attributes bytes if you want.
If you want to do it yourself (without using the above suggestion, which is perfectly valid), then define a record format as USRDFN or use the DSM APIs. I.e., do it yourself.