A class representing a Data Matrix barcode for TSPL. More...
#include <DataMatrixBarcode.h>
Instance Methods | |
(instancetype) | - init |
Initializes a new instance of the DataMatrixBarcode class. | |
(instancetype) | - initWithStart:data: |
Initializes a new instance of the DataMatrixBarcode class with the specified start point and data. | |
(NSString *) | - description |
Returns a string that can be sent to the printer. | |
![]() | |
(NSString *) | - ctrlChar: |
Gets a string that represents non-printable control character in 0-31 range. | |
![]() | |
(NSString *) | - NS_REQUIRES_SUPER |
Additional Inherited Members | |
![]() | |
id< IPoint > | start |
NSString * | data |
char | ctrlCharDelimiter |
id< ICellSquare > | cellSize |
BOOL | rectangle |
Sets the shape for barcode to be rectangular shape, otherwise default square shape is used. | |
NSString * | fnc1 |
Get a string that represents the FNC1 character in order to include it within the barcode data. | |
NSValue * | rowsCols |
Specify the number of cells in terms of rows and columns of the barcode if want to manually set the barcode matrix dimensions. | |
![]() | |
id< IRuler > | ruler |
id< IPoint > | start |
NSString * | data |
RotateEnum | rotation |
![]() | |
id< IPoint > | start |
Position where barcode starts. | |
NSString * | data |
The barcode content. | |
![]() | |
id< IRuler > | ruler |
![]() | |
RotateEnum | rotation |
![]() | |
id< ICellSquare > | cellSize |
Barcode cell size. Larger cell size results in barcodes that take up a larger area. | |
A class representing a Data Matrix barcode for TSPL.
This class inherits from ADataMatrix and provides functionality for initializing and describing Data Matrix barcodes in TSPL.
- (NSString *) description |
Returns a string that can be sent to the printer.
This method generates a string representation of the DataMatrixBarcode 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 |
Initializes a new instance of the DataMatrixBarcode class.
Reimplemented from ADataMatrix.
- (instancetype) initWithStart: | (id< IPoint >) | start | |
data: | (NSString *) | data |
Initializes a new instance of the DataMatrixBarcode class with the specified start point and data.
start | The starting point of the barcode. |
data | The data to be encoded in the barcode. |
Reimplemented from ADataMatrix.