A class representing a Maxicode barcode for TSPL. More...
#include <MaxicodeBarcode.h>
Instance Methods | |
(instancetype) | - initWithStart:data: |
Initializes a new instance of the MaxicodeBarcode class with the specified start point and data. | |
(NSString *) | - description |
Returns a string that can be sent to the printer. | |
![]() | |
(instancetype) | - init |
Properties | |
id< IPoint > | start |
The starting point of the barcode. | |
id< IMaxicodeData > | data |
The data to be encoded in the barcode. | |
RotateEnum | rotation |
The rotation of the barcode. | |
BOOL | zipperPattern |
Zipper pattern can be used to help detect printing defects e.g. light/dark printing. | |
![]() | |
id< IMaxicodeData > | data |
id< IRuler > | ruler |
id< IPoint > | start |
![]() | |
id< IMaxicodeData > | data |
The barcode content. | |
![]() | |
id< IPoint > | start |
![]() | |
id< IRuler > | ruler |
![]() | |
RotateEnum | rotation |
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.
- (NSString *) description |
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.
Reimplemented from <IMaxicodeBarcode>.
- (instancetype) initWithStart: | (id< IPoint >) | start | |
data: | (id< IMaxicodeData >) | data |
Initializes a new instance of the MaxicodeBarcode class with the specified start point and data.
start | The starting point of the barcode. |
data | The data to be encoded in the barcode. |
Implements AMaxicodeBarcode.
|
readwritenonatomicstrong |
The data to be encoded in the barcode.
|
readwritenonatomicassign |
The rotation of the barcode.
|
readwritenonatomicstrong |
The starting point of the barcode.
|
readwritenonatomicassign |
Zipper pattern can be used to help detect printing defects e.g. light/dark printing.