This command dumps the contents of the graphics window to a file. The output file is in XWD (X Windows Dump) format. The syntax is:
filename is the name of the XWD file.
printim command may also be used for creating image output in other formats.