Try the typesetter-independent troff from Bell. I had that beast running on an Agfa P400 in a week, including eqn and tbl. Maybe the Documenter's Workbench would be a better start point. I don't think SYS V troff is any good as a start point for other lasers/photosetters.