cpd device-name
This command defines the device where all graphic output is directed. cpd ? gives a list of all available devices.
Examples:
cpd /X11 ! change the current plot device to X-Windows (vms) cpd /xw ! change the current plot device to X-Windows (unix) cpd test.ps/ps ! direct the graphic output to a postscript file