printerResolutionTest.frink

Download or view printerResolutionTest.frink in plain text format


/** 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]]


Download or view printerResolutionTest.frink in plain text format


This is a program written in the programming language Frink.
For more information, view the Frink Documentation or see More Sample Frink Programs.

Alan Eliasen was born 19945 days, 6 hours, 10 minutes ago.