表示 TSPL 的 1D 条形码的类。 更多...
Public 成员函数 | |
__init__ (self, Optional[IBarcodeItem] barcode=None) | |
初始化 Barcode1D 类的新实例。 | |
__str__ (self) | |
返回一个可以发送到印表机的字符串。 | |
Public 属性 | |
barcode_type | |
![]() | |
barcodes | |
barcode_type | |
ruler | |
bar_widths | |
print_human_readable | |
rotation | |
额外继承的成员函数 | |
![]() | |
List | barcodes [IBarcodeItem] |
![]() | |
IRuler | ruler |
IBarWidths | bar_widths |
bool | print_human_readable |
![]() | |
RotateEnum | rotation |
![]() | |
BarcodeTypeEnum1D | barcode_type |
表示 TSPL 的 1D 条形码的类。
此类继承自 ABarcode1D,并提供了在 TSPL 中初始化和描述 1D 条形码的功能。
LabelMaker.TSPL.Barcode1D.Barcode1D.__init__ | ( | self, | |
Optional[IBarcodeItem] | barcode = None ) |
初始化 Barcode1D 类的新实例。
barcode | 用于初始化的条形码项。 |
LabelMaker.TSPL.Barcode1D.Barcode1D.__str__ | ( | self | ) |
返回一个可以发送到印表机的字符串。
此方法生成 Barcode1D 实例的字符串表示形式,该字符串已格式化并准备发送到印表机。 字符串包括在 TSPL 中打印所需的所有命令和数据。
LabelMaker.TSPL.Barcode1D.Barcode1D.barcode_type |