NAME: hardcopy PURPOSE: Close printer or ps graphics device and spool output. DESCRIPTION: CATEGORY: File I/O CALLING SEQUENCE: hardcopy,file INPUTS: file - File to print, default is idl.ps (relevant for ps device only) OPTIONAL INPUT PARAMETERS: QUEUE - String, name of printer (Unix only). SILENT - Flag, if set suppresses all diagnostic output. DELFILE - Flag, if set and device is ps, delete file after printing. KEYWORD INPUT PARAMETERS: OUTPUTS: KEYWORD OUTPUT PARAMETERS: COMMON BLOCKS: SIDE EFFECTS: RESTRICTIONS: PROCEDURE: MODIFICATION HISTORY: Written by Marc W. Buie, Lowell Observatory, 1999 Nov 22. MacOS portion written by David Osip, MIT. 2003/10/01, MWB, converted my Delfile call to system file_delete routine