Base class for handling 1D barcodes. More...
Public Member Functions | |
| __init__ (self, Optional[IBarcodeItem] barcode=None) | |
| Initializes a new instance of the Barcode1D class with the specified barcode item. | |
| str | __str__ (self) |
| Returns a string that can be sent to the printer. | |
Additional Inherited Members | |
Public Attributes inherited from LabelMaker.Interfaces.IBarcode1D.ABarcode1D | |
| barcodes | |
| barcode_type | |
| ruler | |
| bar_widths | |
| print_human_readable | |
| rotation | |
Static Public Attributes inherited from LabelMaker.Interfaces.IBarcode1D.IBarcode1D | |
| List | barcodes [IBarcodeItem] |
Static Public Attributes inherited from LabelMaker.Interfaces.IBarcode1D.IBarcode1DProperties | |
| IRuler | ruler |
| IBarWidths | bar_widths |
| bool | print_human_readable |
Static Public Attributes inherited from LabelMaker.Interfaces.ISettings.IRotation | |
| RotateEnum | rotation |
Static Public Attributes inherited from LabelMaker.Interfaces.IBarcode1D.IBarcodeType1D | |
| BarcodeTypeEnum1D | barcode_type |
Base class for handling 1D barcodes.
This class provides functionality for creating and managing 1D barcodes, including calculating magnification and formatting barcode data for printing.
| LabelMaker.PGL.Barcode1D.Barcode1D.__init__ | ( | self, | |
| Optional[IBarcodeItem] | barcode = None ) |
Initializes a new instance of the Barcode1D class with the specified barcode item.
| barcode | The barcode item to be used for initialization. |
Reimplemented from LabelMaker.Interfaces.IBarcode1D.ABarcode1D.
| str LabelMaker.PGL.Barcode1D.Barcode1D.__str__ | ( | self | ) |
Returns a string that can be sent to the printer.
This method generates a string representation of the Barcode1D instance that is formatted and ready to be sent to a printer. The string includes all the necessary commands and data required for printing.
Reimplemented from LabelMaker.Interfaces.IBarcode1D.ABarcode1D.