/** This program tests the resolution of a printer or screen by printing very high resolution lines. */ res = 1/4800 in g = new graphics g.color[0,0,0] x = 0 in while x < 11 in { g.fillRectSize[x, 0 in, res, 8.5 in] x = x + 2 res res = res * 101/100 } g.show[] //println["Final resolution is $res " + format[res,"in", 4]]