A single-file Python script with no dependencies that writes vector graph paper whose squares measure what they say when printed at 100%.
python3 graphpaper.py --square 0.25in --paper letter --major 4 -o quarter-inch-letter.pdf python3 graphpaper.py --square 5mm --paper a4 --major 2 -o 5mm-a4.pdf
/PrintScaling /None.Check a print with a ruler: ten 1/4 in squares should measure 2.5 in, ten 5 mm squares 50 mm.
Prefer the browser? Paper Generator makes true-scale graph and lined paper for Letter, A4 and Legal.