• Post Reply Bookmark Topic Watch Topic
  • New Topic

Printing out physically in Java  RSS feed

 
Ranch Hand
Posts: 39
Chrome Java Notepad
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I have just completed an invoice generator software with all modules and logic completed and hearty thanks to community for that. Now I am confused how to make a printout (physical hardcopy) of the invoice.
I have searched on google and found "itext" jar file for pdf generation and java.awt.print package for printing.

Both of them are very confusing to me as i am unable to find any good learning source. Can anyone , inform me how i can design and print a invoice by fetching data from database.

Thanks
 
tushar attar
Ranch Hand
Posts: 39
Chrome Java Notepad
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry to as but is there any easier way? Some predefined or classes so just by calling some sort of functions job is done.
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
tushar attar wrote:Sorry to as but is there any easier way? Some predefined or classes so just by calling some sort of functions job is done.

Desktop#print(File file);
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!