• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to print in java

 
Henry Addo
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have written a simple text editor and i
want to add print function to it, so when
the user press on a print button it prints
outs the file for the user.Any idea of how
i should do it will be much appreciated.
thanx
 
Chad Holloway
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Henry Addo:
I have written a simple text editor and i
want to add print function to it, so when
the user press on a print button it prints
outs the file for the user.Any idea of how
i should do it will be much appreciated.
thanx


I hope that this site will help. I have not tried to
print in java but the code here looks ok. If it does not let me
know. Also have you looked in the tutorials on java.sun.com


Environment Printing API
 
Henry Addo
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
If i click on the URL it takes me to google.com
so i have not seen the block of codes to try.Pls
give me the right URL to check.Thanks
 
Qunfeng Wang
Ranch Hand
Posts: 434
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I 've done a java print exersise.
You can get help from java tutorail,the print API,and in the www.javaworld.com you can search "print",It has an excelent article about java print.
Good luck!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!