S4M won't print with EPL driver

Mar 24, 2010 at 1:55 PM
Edited Mar 24, 2010 at 2:42 PM

The printer prints ok with a ZPL driver but I can't get it to print with EPL, therefore this library doesn't work for me.

Anyone have any ideas?



What's odd is that this doesn't do anything:::

StringBuilder sb = new StringBuilder();

            sb.Append("N" + Environment.NewLine);
            sb.Append("Q609" + Environment.NewLine);
            sb.Append("Q203,26" + Environment.NewLine);
            sb.Append("A253,26,0,3,1,1,N,\"SKU 6205518 MFG 6354\"" + Environment.NewLine);
            sb.Append("P1,1" + Environment.NewLine);

            byte[] sendBytes = Encoding.ASCII.GetBytes(sb.ToString());

            TcpClient printDevice = new TcpClient("", 9100);
            NetworkStream printStream = printDevice.GetStream();
            printStream.Write(sendBytes, 0, sb.ToString().Length);


Mar 24, 2010 at 2:49 PM


I've not looked at the ZPL programming language. According to the S4M manual, it won't respond to EPL then.

Depending on how your printer was ordered, it came from the factory with firmware that
operates in or allows you to use certain commands for one of the following printer languages:
• Zebra Programming Language (ZPL®)
• Eltron® Programming Language (EPL™)
• Datamax® Programming Language (APL-D™)
• Intermec® Printer Language (APL-I™)

I'd suggest you look at the ZPL programming guide as it looks like they use completely different commands to print (commands start with a carat [^] symbol). This library will not support ZPL.



Mar 24, 2010 at 3:01 PM

That makes sense.  Let me see how different ZPL is.