Results 1 to 2 of 2
  1. #1
    satyam000 is offline Member
    Join Date
    Nov 2009
    Posts
    6
    Rep Power
    0

    Default 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.
    Last edited by satyam000; 11-24-2009 at 06:03 AM. Reason: It was unformatted.

  2. #2
    satyam000 is offline Member
    Join Date
    Nov 2009
    Posts
    6
    Rep Power
    0

    Default

    Quote Originally Posted by satyam000 View Post
    Please find this code.
    Please find the coDe here.
    Some error was there in previous message.
    Attached Files Attached Files

Similar Threads

  1. Unable to access velocity.properties file from jar file
    By mjwoodford in forum New To Java
    Replies: 0
    Last Post: 10-09-2009, 01:46 PM
  2. Print .prn file using java
    By nishant in forum Advanced Java
    Replies: 0
    Last Post: 07-14-2009, 09:15 AM
  3. Replies: 1
    Last Post: 06-19-2009, 10:47 AM
  4. Print the text file and print preview them
    By Java Tip in forum java.awt
    Replies: 0
    Last Post: 06-22-2008, 11:04 PM
  5. Print a picture file
    By oli001 in forum New To Java
    Replies: 0
    Last Post: 11-26-2007, 01:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •