Exemple #1
0
 /// <summary>
 /// GS ! n
 /// </summary>
 public static byte[] SelectCharSizeWidth(CharSizeWidth charSize)
 => new byte[]
 {
     0x1D, 0x21, (byte)charSize
 };
Exemple #2
0
        /// <summary>
        /// GS ! n
        /// </summary>
        public static byte[] SelectCharSize(CharSizeWidth charSizeWidth, CharSizeHeight charSizeHeight)
        {
            var charSize = (byte)charSizeWidth | (byte)charSizeHeight;

            return(new byte[] { 0x1D, 0x21, (byte)charSize });
        }