A class representing an Aztec barcode for TSPL.
More...
|
| | __init__ (self, Optional[IPoint] start=None, Optional[str] data=None) |
| | Initializes a new instance of the AztecBarcode class with the specified start point and data.
|
| |
| str | __str__ (self) |
| | Returns a string that can be sent to the printer.
|
| |
|
| | type = AztecCodeTypeEnum.DEFAULT: |
| |
A class representing an Aztec barcode for TSPL.
This class inherits from AAztecBarcode and provides functionality for initializing and describing Aztec barcodes in TSPL.
◆ __init__()
| LabelMaker.TSPL.BcdAztec.AztecBarcode.__init__ |
( |
| self, |
|
|
Optional[IPoint] | start = None, |
|
|
Optional[str] | data = None ) |
Initializes a new instance of the AztecBarcode class with the specified start point and data.
- Parameters
-
| start | The starting point of the barcode. |
| data | The data to be encoded in the barcode. |
◆ __str__()
| str LabelMaker.TSPL.BcdAztec.AztecBarcode.__str__ |
( |
| self | ) |
|
Returns a string that can be sent to the printer.
This method generates a string representation of the AztecBarcode 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 AztecBarcode instance.
◆ calculate_aztec_module_count()
| int LabelMaker.TSPL.BcdAztec.AztecBarcode.calculate_aztec_module_count |
( |
int | data_size, |
|
|
int
| error_correction_percentage ) |
|
static |
◆ calculate_length_with_ecc()
| int LabelMaker.TSPL.BcdAztec.AztecBarcode.calculate_length_with_ecc |
( |
int | data_length, |
|
|
int | ecc_percentage ) |
|
static |
◆ calculate_total_codewords_for_layers()
| int LabelMaker.TSPL.BcdAztec.AztecBarcode.calculate_total_codewords_for_layers |
( |
int | layers | ) |
|
|
static |
◆ type
| LabelMaker.TSPL.BcdAztec.AztecBarcode.type = AztecCodeTypeEnum.DEFAULT: |
The documentation for this class was generated from the following file:
- /Users/bob_huang/Documents/Project/UniPRTSDK_python/LabelMaker/TSPL/BcdAztec.py