UniPRT SDK v1.0.0.0
 
Loading...
Searching...
No Matches
LabelMaker.TSPL.BcdMaxicode.MaxicodeBarcode Class Reference
Inheritance diagram for LabelMaker.TSPL.BcdMaxicode.MaxicodeBarcode:
LabelMaker.Interfaces.IBcdMaxicode.AMaxicodeBarcode LabelMaker.Interfaces.IBcdMaxicode.IMaxicodeBarcode LabelMaker.Interfaces.IBarcode2D.IStartPoint LabelMaker.Interfaces.IBarcode2D.IPositionRuler

Public Member Functions

 __init__ (self, Optional[IPoint] start=None, Optional[IMaxicodeData] data=None)
 Initializes a new instance of the MaxicodeBarcode class with the specified start point and data.
 
str __str__ (self)
 Returns a string that can be sent to the printer.
 

Public Attributes

 zipper_pattern
 
 rotation
 
 start
 
 data
 
- Public Attributes inherited from LabelMaker.Interfaces.IBcdMaxicode.AMaxicodeBarcode
 start
 
 data
 
 ruler
 

Additional Inherited Members

- Static Public Attributes inherited from LabelMaker.Interfaces.IBcdMaxicode.IMaxicodeBarcode
IMaxicodeData data
 
IPoint start
 
IRuler ruler
 
- Static Public Attributes inherited from LabelMaker.Interfaces.IBarcode2D.IStartPoint
IPoint start
 
- Static Public Attributes inherited from LabelMaker.Interfaces.IBarcode2D.IPositionRuler
IRuler ruler
 

Detailed Description

@~English
@brief A class representing a Maxicode barcode for TSPL.

This class inherits from AMaxicodeBarcode and implements the IRotation protocol,
providing functionality for initializing and describing Maxicode barcodes in TSPL.

@~Chinese
@brief 表示 TSPL 中 Maxicode 条形码的类。

此类继承自 AMaxicodeBarcode 并实现 IRotation 协议,
提供在 TSPL 中初始化和描述 Maxicode 条形码的功能。

@~Chinese-Traditional
@brief 表示 TSPL 中 Maxicode 條碼的類。

此類繼承自 AMaxicodeBarcode 並實現 IRotation 協議,
提供在 TSPL 中初始化和描述 Maxicode 條碼的功能。

@ingroup TSPL

Constructor & Destructor Documentation

◆ __init__()

LabelMaker.TSPL.BcdMaxicode.MaxicodeBarcode.__init__ ( self,
Optional[IPoint] start = None,
Optional[IMaxicodeData] data = None )

Initializes a new instance of the MaxicodeBarcode 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.IBcdMaxicode.AMaxicodeBarcode.

Member Function Documentation

◆ __str__()

str LabelMaker.TSPL.BcdMaxicode.MaxicodeBarcode.__str__ ( self)

Returns a string that can be sent to the printer.

This method generates a string representation of the MaxicodeBarcode 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 MaxicodeBarcode instance.

Reimplemented from LabelMaker.Interfaces.IBcdMaxicode.AMaxicodeBarcode.

Member Data Documentation

◆ data

LabelMaker.TSPL.BcdMaxicode.MaxicodeBarcode.data

◆ rotation

LabelMaker.TSPL.BcdMaxicode.MaxicodeBarcode.rotation

◆ start

LabelMaker.TSPL.BcdMaxicode.MaxicodeBarcode.start

◆ zipper_pattern

LabelMaker.TSPL.BcdMaxicode.MaxicodeBarcode.zipper_pattern

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