A class representing a QR code barcode for TSPL. More...
Public Member Functions | |
__init__ (self, Optional[Points] start=None, Optional[str] data=None, Optional[List[List[Union[QRCodeManualEncodingEnum, str]]]] manually_encoded_data=None) | |
Initializes a new instance of the QRBarcode class. | |
str | __str__ (self) |
Returns a string that can be sent to the printer. | |
Public Attributes | |
start | |
data | |
data_manually_encoded | |
![]() | |
data_manually_encoded | |
mask | |
model | |
error_correction | |
cell_size | |
![]() | |
start | |
data | |
ruler | |
rotation | |
Additional Inherited Members | |
![]() | |
IPoint | start |
str | data |
List | data_manually_encoded [List[str]] |
QRCodeMaskEnum | mask |
QRCodeModelEnum | model |
QRCodeErrorCorrectionEnum | error_correction |
ICellSquare | cell_size |
![]() | |
IPoint | start |
str | data |
![]() | |
IRuler | ruler |
![]() | |
RotateEnum | rotation |
![]() | |
ICellSquare | cell_size |
A class representing a QR code barcode for TSPL.
This class inherits from AQRBarcode and provides functionality for initializing and describing QR code barcodes in TSPL.
LabelMaker.TSPL.QRBarcode.QRBarcode.__init__ | ( | self, | |
Optional[Points] | start = None, | ||
Optional[str] | data = None, | ||
Optional[ List[List[Union[QRCodeManualEncodingEnum, str]]] ] | manually_encoded_data = None ) |
Initializes a new instance of the QRBarcode class.
start | The starting point of the QR code. |
data | The data to be encoded in the QR code. |
manually_encoded_data | An array of manually encoded data points for the QR code. |
Reimplemented from LabelMaker.Interfaces.IBcdQRCode.AQRBarcode.
str LabelMaker.TSPL.QRBarcode.QRBarcode.__str__ | ( | self | ) |
Returns a string that can be sent to the printer.
This method generates a string representation of the QRBarcode 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.
Reimplemented from LabelMaker.Interfaces.IBarcode2D.ABarcode2D.
LabelMaker.TSPL.QRBarcode.QRBarcode.data |
LabelMaker.TSPL.QRBarcode.QRBarcode.data_manually_encoded |
LabelMaker.TSPL.QRBarcode.QRBarcode.start |