UniPRT SDK v2.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 Member Functions inherited from LabelMaker.Interfaces.IBcdMaxicode.AMaxicodeBarcode
 __init__ (self, Optional[IPoint] start=None, Optional[IMaxicodeData] data=None)
 
str __str__ (self)
 Constructs the string representation of the Maxicode barcode data for printing.
 
- Public Member Functions inherited from LabelMaker.Interfaces.IBcdMaxicode.IMaxicodeBarcode
str __str__ (self)
 Returns the string that can be sent to printer.
 

Public Attributes

bool zipper_pattern = False
 
 rotation = None
 
- Public Attributes inherited from LabelMaker.Interfaces.IBcdMaxicode.AMaxicodeBarcode
 start = start
 
 data = data
 
 ruler = None
 

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.

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.

Member Data Documentation

◆ rotation

LabelMaker.TSPL.BcdMaxicode.MaxicodeBarcode.rotation = None

◆ zipper_pattern

bool LabelMaker.TSPL.BcdMaxicode.MaxicodeBarcode.zipper_pattern = False

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