We help IT Professionals succeed at work.

printing to a printer from java file

ndgohel asked
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

Watch Question

here is a tutorial link for printing in java.  I think this will be helpful to you.

  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

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

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

Community Support Moderator @Experts Exchange

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