Unable to Print more than 1 File
Hi,
I have written the Java Code for Printing files from my apllication.
If i run this program stand alone, it is printing files as much as are there.
But if i am including this program to my application, its printing onlY 1 file after that it got stopped.
Actually while executing the program, initially socket gets open and it takes the file to print meanwhile it gets the 2nd file to print but at that time that socket is already opened. So coz of that this problem is happening as i think.
Can anybody help me out for the same ?
i have pasted the code for the same which i am using.
I would be very thankful.
I am attaching the code.
Please find the same.