how to program with Pole display/CustomerDisplay using c# in window form application?
I am Using Postfix PD320
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
akhil bkPosted Sep 20, 2018, 2:27 AM
using System.Threading;
{
SerialPort sp= new SerialPort("COM4", 9600, Parity.None, 8, StopBits.One);
//Clear the Display
sp.Write(new byte[] { 0x0C }, 0, 1);
sp.Write("1st line="+textBox1.Text);
//Goto Bottem Line
sp.Write(new byte[] { 0x0A, 0x0D }, 0, 2);
sp.Write("2nd line=" + textBox2.Text);
Thread.Sleep(3000);
//Here it will sleep for 3 sec and then excecute again
sp.Write(new byte[] { 0x0C }, 0, 1);
sp.Write("3rd line=" + textBox3.Text);
//Goto Bottem Line
sp.Write(new byte[] { 0x0A, 0x0D }, 0, 2);
sp.Write("4th line=" + textBox4.Text);
sp.Close();
}
Ashish KumarPosted Feb 14, 2018, 4:02 AM
Sanwar RanwaPosted Feb 13, 2018, 3:22 AM