Look at the SEROUT2 command in the manual.