<!--Copyright (C) 1988-2005 by the Institute of Global Environment and Society (IGES). See file COPYRIGHT for more information.--><style type="text/css"> <!-- body { background-color: #e0f0ff; } --> </style> <h2>enable print</h2> <code>enable print <i>fname</i></code> <p> This command opens the output file <code> <i>fname</i></code> that will contain the instructions in GrADS metacode format to create a hardcopy of the graphical display. Any existing contents of <code><i>fname</i></code> will be lost. The output file <code> <i>fname</i></code> is referred to as a GrADS metafile. <p> <h3>Usage Notes</h3> <p>Creating a GrADS metafile for vector-graphic hardcopy involves four steps:</p> <p>1. Open the metafile with the <code><a href="gradcomdenableprint.html">enable print</a> </code> command<br /> 2. Create the graphical display that you want to print<br /> 3. Issue the <a href="gradcomdprint.html"><code>print</code></a> command. For multiple images in your metafile, use <code><a href="gradcomdclear.html">clear</a></code> and then <a href="gradcomdprint.html"><code>print</code></a> again.<br /> 4. Close the metafile with the <code><a href="gradcomddisableprint.html">disable print</a> </code> command</p> <p>After you have created a GrADS metafile, you can </p> <p>1. convert it to postscript using the external utility <code><a href="gradutilgxps.html">gxps</a></code> <br /> 2. convert it to encapsulated postscript using <code><a href="gradutilgxeps.html">gxeps</a></code> or you can <br /> 3. display it using the external utilities <code><a href="gradutilgxtran.html">gxtran</a></code> or <code><a href="ftp://cola.gmu.edu/grads/gv/gv32.exe">gv32.exe</a></code> (for MS Windows)</p> <p> </p>