Package it.stefanobertini.zebra.cpcl.labelmode

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


  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

Related Classes of it.stefanobertini.zebra.cpcl.labelmode.MaxiCode

Copyright © 2018 www.massapicom. 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.