[ad_1]
I have following code which sens data to printer and prints page. I want somehow to tell th printer the top margin of the page. Is there anyway i could do that with current code?
Dim data As String = "some text"
Dim client As New TcpClient()
client.Connect(IPadressDrukarki, 8569)
Dim stream As NetworkStream = client.GetStream()
Dim sendBytes As Byte() = IO.File.ReadAllBytes(data)
stream.Write(sendBytes, 0, sendBytes.Length)
stream.Close(9000)
client.Close()
[ad_2]