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. | |
![]() | |
str | ctrl_char (self, int decimal_char_value) |
str | fnc1 (self) |
Public Attributes | |
ctrl_char_delimiter | |
![]() | |
ctrl_char_delimiter | |
rows_cols | |
cell_size | |
rectangle | |
![]() | |
start | |
data | |
ruler | |
rotation | |
Static Protected Attributes | |
str | _ctrl_delim_tspl = "~" |
Additional Inherited Members | |
![]() | |
IPoint | start |
str | data |
![]() | |
IRuler | ruler |
![]() | |
RotateEnum | rotation |
![]() | |
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 |