File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes Printing in Java Swings Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Printing in Java Swings" Watch "Printing in Java Swings" New topic

Printing in Java Swings

L Goundalkar
Ranch Hand

Joined: Jul 05, 2001
Posts: 395
I am developing a small application using Java Swings.
I need to print some contents on to a pre-defined page having header and footer. This task should also take care of number of lines per page and pause at exact position.
Is there any API or free tools available for the same?
Thanks for the same.

Joe Ess

Joined: Oct 29, 2001
Posts: 9168

The Java Tutorial has a section on printing

[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: Printing in Java Swings
It's not a secret anymore!