:DISK Screen Image Commands
Saves screen image files in common graphic formats. These screen capture files allow you to document waveforms, results, measurements, and other important displayed items.
For an example script that saves screen images to autonumbered files, see Image Saves with Autonumbers.