File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to give the print command in applet

 
Mahesh Lohi
Ranch Hand
Posts: 151
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I would like to know if it is posibe for us to give a button in applet, which on click must give the command to the printer to print the contents. Application similar to that of a billing m/c .

Thank you advance
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Start here: http://java.sun.com/javase/technologies/desktop/printing/

Note that the applet will need to be signed in order to be allowed to print.
 
Mahesh Lohi
Ranch Hand
Posts: 151
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for the reply. I will try

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic