UniPRT SDK v1.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
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
 

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.

Reimplemented from LabelMaker.Interfaces.IBarcode2D.ADataMatrix.

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.

Reimplemented from LabelMaker.Interfaces.IBarcode2D.ABarcode2D.

Member Data Documentation

◆ _ctrl_delim_tspl

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

◆ ctrl_char_delimiter

LabelMaker.TSPL.BcdDataMatrix.DataMatrixBarcode.ctrl_char_delimiter

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