Print Report « Graphics « Java Swing Q&A





1. Printing Reports    coderanch.com

(topic change carried over from http://www.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=25&t=001730 ) Well, going all the way back to my COBOL days, the way I've usually printed reports was to output the detail lines via a report-print subroutine. In the old days, it looked something like this: boolean printLine( String reportLine ) { boolean newPage = false; if ( lineNumber > LINESPERPAGE ) { newPage = ...

2. Printing Reports    coderanch.com

Hi I have a requirement of printing numerous reports haveing different no of columns. The printing has to be done on the basis of a single click. I was thinking to putting each type of a report in a single Jtable. My requirement is that can we put multiple JTables in a single scroll pane. Also what is the best solution ...

3. Printing reports in AWT    coderanch.com

If you are having to stick with AWT then I would suggest one of 2 things. You could simply use the print method of whatever component you are needing to print. A better option for you though would be to use the iText API which allows you to create PDF's. Of course this is if PDF's will be acceptable. I have ...

4. Print a report    coderanch.com