A class representing a Data Matrix barcode for TSPL. More...
Public Member Functions | |
| __init__ (self, Optional[IPoint] start=None, Optional[str] data=None) | |
| Initializes a new instance of the DataMatrixBarcode class with the specified start point and data. | |
| str | __str__ (self) |
| Returns a string that can be sent to the printer. | |
Public Member Functions inherited from LabelMaker.Interfaces.IBarcode2D.ADataMatrix | |
| __init__ (self, Optional[IPoint] start=None, str data="", Optional[ICellSquare] cell_size=None) | |
| str | ctrl_char (self, int decimal_char_value) |
| str | fnc1 (self) |
Public Member Functions inherited from LabelMaker.Interfaces.IBarcode2D.ABarcode2D | |
| __init__ (self, Optional[IPoint] start=None, str data="", Optional[IRuler] ruler=None, RotateEnum rotation=RotateEnum.NONE) | |
| str | __str__ (self) |
Public Member Functions inherited from LabelMaker.Interfaces.IBarcode2D.IBarcode2D | |
| str | __str__ (self) |
Static Protected Attributes | |
| str | _ctrl_delim_tspl = "~" |
Additional Inherited Members | |
Public Attributes inherited from LabelMaker.Interfaces.IBarcode2D.ADataMatrix | |
| str | ctrl_char_delimiter = '~' |
| tuple | rows_cols = (0, 0) |
| cell_size = cell_size or Defaults.cell_size() | |
| bool | rectangle = False |
Public Attributes inherited from LabelMaker.Interfaces.IBarcode2D.ABarcode2D | |
| start = start | |
| data = data | |
| ruler = ruler or Defaults.ruler() | |
| rotation = rotation | |
A class representing a Data Matrix barcode for TSPL.
This class inherits from ADataMatrix and provides functionality for initializing and describing Data Matrix barcodes in TSPL.
| LabelMaker.TSPL.BcdDataMatrix.DataMatrixBarcode.__init__ | ( | self, | |
| Optional[IPoint] | start = None, | ||
| Optional[str] | data = None ) |
Initializes a new instance of the DataMatrixBarcode class with the specified start point and data.
| start | The starting point of the barcode. |
| data | The data to be encoded in the barcode. |
| str LabelMaker.TSPL.BcdDataMatrix.DataMatrixBarcode.__str__ | ( | self | ) |
Returns a string that can be sent to the printer.
This method generates a string representation of the DataMatrixBarcode instance that is formatted and ready to be sent to a printer. The string includes all the necessary commands and data required for printing in TSPL.
|
staticprotected |