Copy sends the image contents of the graphics window to a file or (on non-Windows systems only) to a printer.
If the file keyword is given, the image is saved in filename. The format can be specified as ps (PostScript, the default), eps (encapsulated PostScript), png, tiff, or jpeg. If "-" is supplied instead of a filename, a dialog for saving a file will appear.
If the printer keyword is given, PostScript is sent to printername. If "-" is supplied instead of a printer name, the image is sent to the default system printer. On Windows systems, the printer option will not work.
If neither file nor printer is specified, a dialog for saving a file will appear.
The image resolution (number of pixels) is the same as that shown on the screen. The level of supersampling indicated in the Image Setup preferences will be used unless a different level is specified with supersample, where n is a positive integer (for example, if n is 2, 2x2 supersampling will be performed).