how to Record On Stage output.

Hi
i want to record total current output of the desk to a single cue.
either it is from programmer or playing back from other cues.

Thanks in Advance.