Found this link on the net the other day and there is a Free N and HO scale ruler link near the bottom of the page. I've printed out several and they are quite accurate. To strengthen mine I've laminated them with packing tape.Free Ruler Here
BTW: I have no affiliation with Fiddlers Green.
BTW: I have no affiliation with Fiddlers Green.