File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Java Printing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Java Printing" Watch "Java Printing" New topic

Java Printing

Padmanaban Jayabalan

Joined: May 08, 2002
Posts: 14
Hi All,
Is there any feature avaiable in Java for printing? (Non GUI)
My requirement is to print some records from the database. Its like, a utility class which gets the search criteria from the screen and fetch the records from the database. If anyone have come across this req'ment and source code, plz send it to me.
How to extract the values from a flat file (.dat) and update the db? Second part is an "insert" statement. But the first part is where I seek ur help. The file has the account values. It has 9 columns seperated by a tab. The number of records are more. How to extract each record using java?
Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
SDK 1.2 Printing API: A Tutorial
You need to ask the DB question in the JDBC forum.

And Padmanaban,
Welcome to JavaRanch!! Please change your name to be compliant with JavaRanch's naming policy. It should not be obviously fictitious.
Your displayed name should be 2 separate names with more than 1 letter each. We really would prefer that you use your REAL name.
You can change your name: here.
[ October 13, 2003: Message edited by: Cindy Glass ]

"JavaRanch, where the deer and the Certified play" - David O'Meara
I agree. Here's the link:
subject: Java Printing
It's not a secret anymore!