this is samar here
I'm developing a application in which i want that
when some one press print button the info in the form
I'm developing my application in netbeans 7.0.1
pls make ur Q. clear.
if u are using any network protocol with java techno.
then must u hv to know socket programming.
through socket u can get it, jst need to connect through ip addresss.
hope its work for you.
better give some code.
Application I'm developing is just a single user application
the application is for generating pay slips for parking place
Just google java printing and you will find many tutorials on how to do it,
just connect ur pc with printer using IP Address. but the problem is u can print the documents throught only one system. if its fine for u, then go for it,.