Package it.stefanobertini.zebra.cpcl.labelmode

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


public class RssTest {

    @Test
    public void test1() {
  Rss command = new Rss(Orientation.horizontal, new Position(10, 110), 2, 25, 3, 22, RssBarcodeType.RSS_14, "1234567890123", "1234567890");

  CommandOutputBuilder output = new CommandOutputBuilder();
  output.printLn("BARCODE RSS 10 110 2 25 3 22 1 1234567890123|1234567890");

  assertCommand(output, command);
View Full Code Here


  assertCommand(output, command);
    }

    @Test
    public void test2() {
  Rss command = new Rss(Orientation.horizontal, new Position(10, 110), 2, 25, 3, 22, RssBarcodeType.RSS_14_Stacked, "1234567890123", "");

  CommandOutputBuilder output = new CommandOutputBuilder();
  output.printLn("BARCODE RSS 10 110 2 25 3 22 3 1234567890123");

  assertCommand(output, command);
View Full Code Here

  assertCommand(output, command);
    }

    @Test
    public void test3() {
  Rss command = new Rss(Orientation.horizontal, new Position(10, 110), 2, 25, 3, 22, RssBarcodeType.RSS_Expanded, "1234567890123", "");

  CommandOutputBuilder output = new CommandOutputBuilder();
  output.printLn("BARCODE RSS 10 110 2 25 3 22 6 1234567890123");

  assertCommand(output, command);
View Full Code Here

  assertCommand(output, command);
    }

    @Test
    public void test4() {
  Rss command = new Rss(Orientation.horizontal, new Position(10, 110), 2, 25, 3, 22, RssBarcodeType.UCC_128_Composite_A_B, "12345678901234567890",
          "1234567890");

  CommandOutputBuilder output = new CommandOutputBuilder();
  output.printLn("BARCODE RSS 10 110 2 25 3 22 11 12345678901234567890|1234567890");
View Full Code Here

  assertCommand(output, command);
    }

    @Test
    public void test5() {
  Rss command = new Rss(Orientation.horizontal, new Position(10, 110), 2, 25, 3, 22, RssBarcodeType.RSS_14, "1011234567890", "");

  CommandOutputBuilder output = new CommandOutputBuilder();
  output.printLn("BARCODE RSS 10 110 2 25 3 22 1 1011234567890");

  assertCommand(output, command);
View Full Code Here

TOP

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

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.