I have following code which sends 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? The printer is Zebra and uses ZPL-II.
Dim data As String = "path to file"
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()
EDIT: Will this print out top margin of 100 dots?
Dim data As String = "^XA^LH0,100^XZ some text"