Since it sounds like you have a data set which can be tablulated - ie entered into a JTable then it *CAN* be as simple as "populate jtable and print it"
JDK 1.5 now directly supports that. See the 1.5 docs for javax.swing.JTable.print(..)
> I have dot matrix printer TVSE MSP 145. old one!
Umm. So long as the windows drivers support it, it'll work to some degree but it will have to work with the limited resolution of that device.
-phil
miten mehta wrote:
Hello,
I have data records which I would like to extract and print as neat report document.
can one tell me how I can create a document like say ms word which distributes records on page and then let me view/print pages.
I have dot matrix printer TVSE MSP 145. old one!
I assume I cannot populate jtable and print it. I would need to handling priting in code. For simple reports I guess html will be better option as its easy to generate markup compared to do drawing on canvas.
Miten.
__________________________________ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com
=========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA2D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
=========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA2D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".