[comp.sys.cbm] How do you say "CMD" in GW-ese?

heinicke@uwovax.uwo.cdn (04/16/88)

I'd like to convert a cbm basic program to one that works on XT's - ie to
gwbasic or Quickbasic. The cbm version has some sections that print to 
the screen, and the user has the option to print a hard copy. The program
(cbm version) has a line like
    open4,4: cmd 4 : gosub 2500 : print#4 :close 4

to accomplish this. The effect of "cmd 4" is to redirect all screen output
to the printer (device 4) untile the file is closed.

I can't seem to find the equivalent of "cmd 4" in my GW-Basic manual.
Any suggestions - (other than rewrite large parts of the program!)?