UniPRT SDK v2.0.0.0
 
Loading...
Searching...
No Matches
LabelMaker.TSPL.BcdDataMatrix.DataMatrixBarcode Class Reference

A class representing a Data Matrix barcode for TSPL. More...

Inheritance diagram for LabelMaker.TSPL.BcdDataMatrix.DataMatrixBarcode:
LabelMaker.Interfaces.IBarcode2D.ADataMatrix LabelMaker.Interfaces.IBarcode2D.ABarcode2D LabelMaker.Interfaces.IBarcode2D.ISquareCell LabelMaker.Interfaces.IBarcode2D.IBarcode2D LabelMaker.Interfaces.IBarcode2D.IBarcodeItem2D LabelMaker.Interfaces.IBarcode2D.IPositionRuler LabelMaker.Interfaces.ISettings.IRotation

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ __init__()

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.

Parameters
startThe starting point of the barcode.
dataThe data to be encoded in the barcode.

Member Function Documentation

◆ __str__()

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.

Returns
A string description of the DataMatrixBarcode instance.

Member Data Documentation

◆ _ctrl_delim_tspl

str LabelMaker.TSPL.BcdDataMatrix.DataMatrixBarcode._ctrl_delim_tspl = "~"
staticprotected

The documentation for this class was generated from the following file: