PostScript allows you to write PostScript files from Perl. It has graphics primitives that allow lines, circles and boxes to be drawn. WWW: http://search.cpan.org/dist/PostScript/