A class representing a QR code barcode for TSPL. More...
#include <QRBarcode.h>
Instance Methods | |
| (instancetype) | - init |
| Initializes a new instance of the QRBarcode class. | |
| (instancetype) | - initWithStart:data: |
| Initializes a new instance of the QRBarcode class with the specified start point and data. | |
| (instancetype) | - initWithStart:manuallyEncodedData: |
| Initializes a new instance of the QRBarcode class with the specified start point and manually encoded data. | |
| (NSString *) | - description |
| Returns a string that can be sent to the printer. | |
Instance Methods inherited from ABarcode2D | |
| (NSString *) | - NS_REQUIRES_SUPER |
Additional Inherited Members | |
Properties inherited from AQRBarcode | |
| id< IPoint > | start |
| The starting point for the QR code. | |
| NSString * | data |
| Automatically encoded data. Manually, DataManuallyEncoded, encoded has priority over automatic encoding. | |
| NSArray< NSArray * > * | dataManuallyEncoded |
| Manually encoded data. Manually encoded has priority over automatic encoding. | |
| QRCodeMaskEnum | mask |
| Mask used in the QR code generation. | |
| QRCodeModelEnum | model |
| Model of the QR code. | |
| QRCodeErrorCorrectionEnum | errorCorrection |
| Error correction level of the QR code. | |
| id< ICellSquare > | cellSize |
| Size of the cells that make up the QR code. | |
Properties inherited from ABarcode2D | |
| id< IRuler > | ruler |
| id< IPoint > | start |
| NSString * | data |
| RotateEnum | rotation |
Properties inherited from <IBarcodeItem_2D> | |
| id< IPoint > | start |
| Position where barcode starts. | |
| NSString * | data |
| The barcode content. | |
Properties inherited from <IPositionRuler> | |
| id< IRuler > | ruler |
Properties inherited from <IRotation> | |
| RotateEnum | rotation |
Properties inherited from <ISquareCell> | |
| id< ICellSquare > | cellSize |
| Barcode cell size. Larger cell size results in barcodes that take up a larger area. | |
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.
| - (NSString *) description |
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 <IBarcode2D>.
| - (instancetype) init |
| - (instancetype) initWithStart: | (id< IPoint >) | start | |
| data: | (NSString *) | data |
Initializes a new instance of the QRBarcode class with the specified start point and data.
| start | The starting point of the QR code. |
| data | The data to be encoded in the QR code. |
Reimplemented from AQRBarcode.
| - (instancetype) initWithStart: | (id< IPoint >) | start | |
| manuallyEncodedData: | (NSArray< NSArray * > *) | dataManuallyEncoded |
Initializes a new instance of the QRBarcode class with the specified start point and manually encoded data.
| start | The starting point of the QR code. |
| dataManuallyEncoded | An array of manually encoded data points for the QR code. |
Reimplemented from AQRBarcode.