GDCLOSE GPCLOSE Purpose Close the current graphics output device. Function After drawing a picture, the device remains allocated. This is necessary to allow overlay pictures with the GOVER command, as well as adding text with GWRITE. The device is closed automatically with the next GDISP, GPLOT command. If the output device is a PostScript file, you must use GDCLOSE or GPCLOSE before sending the file to the plotter with the operating system's printer commands.