Use the SEROUT2 command.

Cheers

Al.