Device: MC 9090
OS: Windows Mobile 5
Printer: QL 320 connected via serial port to MC 9090
I am sending ZPL to the serial port, but the printer prints ANSI characters only on the 3x2 label. No barcode or no text
Any help will be appreciated.
NOTE: I do not want to install special printer drivers.
Here is my code:
StringBuilder sb = new StringBuilder();
sb.AppendLine("^XA");
sb.AppendLine("^FO100,100^BY3");
sb.AppendLine("^BCN,100,Y,N,N");
sb.AppendLine("^FD123456^FS");
sb.AppendLine("^XZ");
string DataToPrint = sb.ToString();
SerialPort S = new SerialPort("COM1", 9600, Parity.None, 8, StopBits.One);
try
{
S.Open();
S.Write(DataToPrint);
S.Close();
}
catch (Exception Ex)
{
MessageBox.Show(Ex.Message);
}