You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
69 lines
1.2 KiB
C#
69 lines
1.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace POSV.Printer
|
|
{
|
|
public enum LineStyle
|
|
{
|
|
不填充 = 0,
|
|
中划线 = 1,
|
|
双划线 = 2,
|
|
星号线 = 3,
|
|
井号线 = 4,
|
|
加号线 = 5,
|
|
下划线 = 6
|
|
}
|
|
|
|
public enum ControlType
|
|
{
|
|
None = 0,
|
|
单行模版 = 1,
|
|
表格模版 = 2,
|
|
两列模版 = 3,
|
|
条码模版 = 4,
|
|
二维码模版 = 5,
|
|
位图模版 = 6
|
|
}
|
|
|
|
/// <summary>
|
|
/// 数据源类型
|
|
/// </summary>
|
|
public enum DataType
|
|
{
|
|
Simple = 1,
|
|
List =2
|
|
}
|
|
|
|
public enum PagerType
|
|
{
|
|
每行32个字符_58纸 = 32,
|
|
每行40个字符_76纸 = 40,
|
|
每行42个字符_80纸 = 42,
|
|
每行48个字符_80纸 = 48
|
|
}
|
|
|
|
public enum FontStyle
|
|
{
|
|
正常字体 = 0,
|
|
倍宽字体 = 1,
|
|
倍高字体 = 2,
|
|
倍宽倍高 = 3
|
|
}
|
|
|
|
public enum AlignStyle
|
|
{
|
|
居左 = 0,
|
|
居中 = 1,
|
|
居右 = 2
|
|
}
|
|
|
|
public enum QRCodeSizeMode
|
|
{
|
|
默认 = 1,
|
|
小图 = 2,
|
|
大图 = 3
|
|
}
|
|
}
|