graph_paper, a FORTRAN90 code which makes graph paper.
graph_paper() generates simple Encapsulated PostScript files (EPS) representing several styles of graph paper.
When I manage to find a pad of printed graph paper, I use it all up in a week. Right now, there are just a couple of options involving simple plain grids, but more may come.
The computer code and data files described and made available on this web page are distributed under the MIT license
graph_paper is available in a FORTRAN90 version.
PS_WRITE, a FORTRAN90 code which can be used to create PostScript image files.
TRIANGLE_GRID, a FORTRAN90 code which computes a triangular grid of points.