Package it.stefanobertini.zebra.beans

Examples of it.stefanobertini.zebra.beans.QRCodeManualData


    }

    @Test
    public void test2() {

  QRCodeManualData data;
  data = new QRCodeManualData(QRCodeErrorCorrectionLevel.ultraHighReliability, QRCodeMaskNumber.mask0);
  data.addData(new QRCodeManualDataItem(QRCodeCharacterMode.numeric, "0123456789012345"));

  QRCode command = new QRCode(Orientation.horizontal, new Position(10, 100), QRCodeModelType.model2, 10, data);

  CommandOutputBuilder output = new CommandOutputBuilder();
  output.printLn("BARCODE QR 10 100 M 2 U 10");
View Full Code Here


    }

    @Test
    public void test3() {

  QRCodeManualData data;
  data = new QRCodeManualData(QRCodeErrorCorrectionLevel.ultraHighReliability, QRCodeMaskNumber.mask0);
  data.addData(new QRCodeManualDataItem(QRCodeCharacterMode.alphanumeric, "AC-42"));

  QRCode command = new QRCode(Orientation.horizontal, new Position(10, 100), QRCodeModelType.model2, 10, data);

  CommandOutputBuilder output = new CommandOutputBuilder();
  output.printLn("BARCODE QR 10 100 M 2 U 10");
View Full Code Here

    }

    @Test
    public void test4() {

  QRCodeManualData data;
  data = new QRCodeManualData(QRCodeErrorCorrectionLevel.highDensity, QRCodeMaskNumber.none);
  data.addData(new QRCodeManualDataItem(QRCodeCharacterMode.alphanumeric, "QR code"));
  data.addData(new QRCodeManualDataItem(QRCodeCharacterMode.numeric, "0123456789012345"));
  data.addData(new QRCodeManualDataItem(QRCodeCharacterMode.alphanumeric, "QRCODE"));
  data.addData(new QRCodeManualDataItem(QRCodeCharacterMode.binary, "qrcode"));

  QRCode command = new QRCode(Orientation.horizontal, new Position(10, 100), QRCodeModelType.model2, 10, data);

  CommandOutputBuilder output = new CommandOutputBuilder();
  output.printLn("BARCODE QR 10 100 M 2 U 10");
View Full Code Here

TOP

Related Classes of it.stefanobertini.zebra.beans.QRCodeManualData

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.