Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

printing in java  RSS feed

 
as chhipa
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everybody,
Follwing is my problem.
I'm generating some text files. the numbers of files is not fixed. it varies depending on certain conditions.
No what i have to do is that I have to print the contents of those text files. Can you tell me how can we do it. I think it can be done using JasperReport but I'don't have any clue how to start.
One thing is important that I don't have to look any preview of the report I have to simply print the text files on printer.
Thank you.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use the Java Print Service API.

(Not an advanced question. Moving...)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!