You just need to form a string that contains these special characters. There are several possibilities, two are shown on the attached image.
(1) right-click on the string constant and select '\' Codes Display. Now you can add \r for carriage return and \n for linefeed.
(2) Just use "concatenate strings" with the special diagram constants found in the strings palette.
Now send the final string to your device.