We help IT Professionals succeed at work.

printing to a printer from java file

ndgohel
ndgohel asked
on
hello dear friends...i want to know if i want to give a print command from my java program how can i do it..for example...i want to print some string on paper with the use of printer..!!!! so how can i do it with java program....my string which is to be printed is stored in java program

Comment
Watch Question

Commented:
here is a tutorial link for printing in java.  I think this will be helpful to you.
java.sun.com/products/java-media/2D//forDevelopers/sdk12print.html

Commented:
Hi,
  There are few problems that we encountered......

    When we give print command and when u try to print it will print to the printer connected to the server, not on the client.

    In order to avoid it, we can use javascript print in terms of printing in the client window...

Can u pls explain whether u r work is related webserver or an application.

Good Luck
regards
Vasan
 

Commented:
This question appears to have been abandoned. A Moderator will be asked to
close this question after seven days, with the following recommended
disposition:

PAQ/remove pts

If you have any comment or objection to the recommendation, please leave it here.

Please do NOT accept this comment as an answer. Thank You!

guidway :0)
EE Cleanup Volunteer
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange

Explore More ContentExplore courses, solutions, and other research materials related to this topic.