Hi, In my application,we r printing some details in the printer using Hardware PrintServer.I am writing the details to the Printserver using Socket & BufferedOutputStream . My problem is ,sometime it is printing and sometime not. Is there any possibility of data loss. How can I find the problematic part. Can anyone help me?