File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes prints Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "prints" Watch "prints" New topic
Author

prints

khella smith
Ranch Hand

Joined: May 06, 2002
Posts: 39
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

Joined: Sep 29, 2000
Posts: 8521
What are you SENDING to the printer?
A bit of code might help.


"JavaRanch, where the deer and the Certified play" - David O'Meara
khella smith
Ranch Hand

Joined: May 06, 2002
Posts: 39
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: prints
 
Similar Threads
Text on buttons
How to print in java
A Problem related to KEYEVENTS
Edit nested input element value attribute
JButtons.... nothing to do with GUI