next up previous contents
Next: iplot Up: Plot Commands Previous: cpd

hardcopy: print plot

Spool the current plot to the printer.

Syntax:           hardcopy [<filename>] [mono | color]

This command takes whatever is the current display in you plot window, writes it to a postscript file, and then sends it to a printer using the unix lpr command.  It will thus be printed on whatever printer lpr uses as your default printer.  If a filename is specified, the postscript file will be saved (e.g. “hardcopy color” will produce a color plot saved in the file  If mono or color is not given, the hardcopy will be monochrome.