def gsave(self, fname="", ext="", **kwargs):
    """Saves graphics settings to a file for later use.

    APDL Command: /GSAVE

    Parameters
    ----------
    fname
        File name and directory path (248 characters maximum, including the
        characters needed for the directory path).  An unspecified
        directory path defaults to the working directory; in this case, you
        can use all 248 characters for the file name.

    ext
        Filename extension (eight-character maximum).

    Notes
    -----
    This command does not save all graphics settings, but only those that
    may be reset by the /RESET command.  The database remains untouched.
    Use the /GRESUME command to read the file.  Repeated use of the /GSAVE
    command overwrites the previous data on the file.  The following
    commands are saved by /GSAVE:

    This command is valid in any processor.
    """
    command = f"/GSAVE,{fname},{ext}"
    return self.run(command, **kwargs)