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 | |
| str | ctrl_char (self, int decimal_char_value) |
| str | fnc1 (self) |
Public Attributes | |
| ctrl_char_delimiter | |
Public Attributes inherited from LabelMaker.Interfaces.IBarcode2D.ADataMatrix | |
| ctrl_char_delimiter | |
| rows_cols | |
| cell_size | |
| rectangle | |
Public Attributes inherited from LabelMaker.Interfaces.IBarcode2D.ABarcode2D | |
| start | |
| data | |
| ruler | |
| rotation | |
Static Protected Attributes | |
| str | _ctrl_delim_tspl = "~" |
Additional Inherited Members | |
Static Public Attributes inherited from LabelMaker.Interfaces.IBarcode2D.IBarcodeItem2D | |
| IPoint | start |
| str | data |
Static Public Attributes inherited from LabelMaker.Interfaces.IBarcode2D.IPositionRuler | |
| IRuler | ruler |
Static Public Attributes inherited from LabelMaker.Interfaces.ISettings.IRotation | |
| RotateEnum | rotation |
Static Public Attributes inherited from LabelMaker.Interfaces.IBarcode2D.ISquareCell | |
| ICellSquare | cell_size |
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. |
Reimplemented from LabelMaker.Interfaces.IBarcode2D.ADataMatrix.
| 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.
Reimplemented from LabelMaker.Interfaces.IBarcode2D.ABarcode2D.
|
staticprotected |
| LabelMaker.TSPL.BcdDataMatrix.DataMatrixBarcode.ctrl_char_delimiter |