/// <summary> /// 设置打印样式 /// </summary> /// <param name="style">打印样式</param> public byte[] Styles(PrintStyle style) => new[] { ASCIIControlConst.ESC, CommandConst.Chars.StyleMode, style.ToByte() };