表示 TSPL 的 1D 條碼的類。 更多...
公開方法(Public Methods) | |
| __init__ (self, Optional[IBarcodeItem] barcode=None) | |
| 初始化 Barcode1D 類的新實例。 | |
| __str__ (self) | |
| 返回一個可以發送到打印機的字符串。 | |
公開屬性 | |
| barcode_type | |
公開屬性 繼承自 LabelMaker.Interfaces.IBarcode1D.ABarcode1D | |
| barcodes | |
| barcode_type | |
| ruler | |
| bar_widths | |
| print_human_readable | |
| rotation | |
額外的繼承成員 | |
靜態公開屬性 繼承自 LabelMaker.Interfaces.IBarcode1D.IBarcode1D | |
| List | barcodes [IBarcodeItem] |
靜態公開屬性 繼承自 LabelMaker.Interfaces.IBarcode1D.IBarcode1DProperties | |
| IRuler | ruler |
| IBarWidths | bar_widths |
| bool | print_human_readable |
靜態公開屬性 繼承自 LabelMaker.Interfaces.ISettings.IRotation | |
| RotateEnum | rotation |
靜態公開屬性 繼承自 LabelMaker.Interfaces.IBarcode1D.IBarcodeType1D | |
| 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 |