Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

prints

 
khella smith
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,
i wrote this program using the printing module and i read through some examples at the suns tutorial and also at javabotique.i programmed a gui with a text field and a button which will print when the button is clicked.when u click at the button it the programe communicates with the printer but then the text in the textfield is not printed out it prints only blank.could anyone help?
thanks
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What are you SENDING to the printer?
A bit of code might help.
 
khella smith
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i decided to give u all the code.some changes in it might have been due to too much messing around with it

[ June 27, 2002: Message edited by: Cindy Glass ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic