CodePrinter is a tiny utility to print out source code or other text files. Its main intent is to provide you with print-outs used in code reviews and to save some paper by fitting two code pages onto one sheet of paper.
This library enables you to print in Java programs in an elegant way.This library includes support for Print Dialog, Automatic Printer detection, Print configuration, PrintPreview and components that derive from your suggestions.