コード例 #1
0
        public void ToZpl_Default4_Successful()
        {
            var command    = new Interleaved2Of5BarCodeCommand(printInterpretationLine: false, printInterpretationLineAboveCode: false, calculateAndPrintMod10CheckDigit: true);
            var zplCommand = command.ToZpl();

            Assert.AreEqual("^B2N,,N,N,Y", zplCommand);
        }
コード例 #2
0
        public void ToZpl_Default1_Successful()
        {
            var command    = new Interleaved2Of5BarCodeCommand();
            var zplCommand = command.ToZpl();

            Assert.AreEqual("^B2N,,Y,N,N", zplCommand);
        }
コード例 #3
0
        public void ToZpl_Default2_Successful()
        {
            var command    = new Interleaved2Of5BarCodeCommand(Orientation.Rotated180);
            var zplCommand = command.ToZpl();

            Assert.AreEqual("^B2I,,Y,N,N", zplCommand);
        }