Using C# losing formatting in a Word file

I am actually utilizing that code, which are going to print a document making use of a network printer: Socket socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); socket.NoDelay = true; IPAddress ip = IPAddress.Parse(ip); IPEndPoint ipEndPoint = new IPEndPoint(ip, someport); socket.Connect(ipEndPoint); socket.Send(_byteArray); socket.Close(); That code operates, yet I am dropping the styles in my Word document. […]

Read More