Examples of MaxiCode


Examples of it.stefanobertini.zebra.cpcl.labelmode.MaxiCode

public class MaxiCodeTest {

    @Test
    public void test1() {
  MaxiCode command = new MaxiCode(new Position(1, 2));
  command.addTag(MaxiCodeTag.countryCode, "12345");
  command.addTag(MaxiCodeTag.msg, "This is a MAXICODE low priority message.");
  command.addTag(MaxiCodeTag.serviceClass, "12345");
  command.addTag(MaxiCodeTag.postalCode, "02886");

  CommandOutputBuilder output = new CommandOutputBuilder();
  output.printLn("BARCODE MAXICODE 1 2");
  output.printLn("CC 12345");
  output.printLn("MSG This is a MAXICODE low priority message.");
View Full Code Here

Examples of it.stefanobertini.zebra.cpcl.labelmode.MaxiCode

  assertCommand(output, command);
    }

    @Test
    public void test2() {
  MaxiCode command = new MaxiCode(new Position(1, 2));
  command.addTag(MaxiCodeTag.countryCode, "12345");
  command.addTag(MaxiCodeTag.msg, "This is a MAXICODE low priority message.");
  command.addTag(MaxiCodeTag.serviceClass, "12345");
  command.addTag(MaxiCodeTag.postalCode, "02886");
  command.addTag(MaxiCodeTag.zipper, "1");

  CommandOutputBuilder output = new CommandOutputBuilder();
  output.printLn("BARCODE MAXICODE 1 2");
  output.printLn("CC 12345");
  output.printLn("MSG This is a MAXICODE low priority message.");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.