A class representing a 1D barcode for TSPL. More...
#include <Barcode_1D.h>
Instance Methods | |
(instancetype) | - init |
Initializes a new instance of the Barcode_1D class. | |
(instancetype) | - initWithBarcodeItem: |
Initializes a new instance of the Barcode_1D class with the specified barcode item. | |
(NSString *) | - description |
Returns a string that can be sent to the printer. | |
Additional Inherited Members | |
![]() | |
NSMutableArray< id< IBarcodeItem > > * | barcodes |
BarcodeTypeEnum1D | barcodeType |
id< IRuler > | ruler |
id< IBarWidths > | barWidths |
BOOL | printHumanReadable |
RotateEnum | rotation |
![]() | |
NSMutableArray< id< IBarcodeItem > > * | barcodes |
An array of barcode items. | |
![]() | |
id< IRuler > | ruler |
Ruler to use for positioning and Height. | |
id< IBarWidths > | barWidths |
Barcode magnification. Width of Narrow/Wide bars. | |
BOOL | printHumanReadable |
Prints the PDF human readable at bottom of barcode. | |
![]() | |
RotateEnum | rotation |
![]() | |
BarcodeTypeEnum1D | barcodeType |
A class representing a 1D barcode for TSPL.
This class inherits from ABarcode1D and provides functionality for initializing and describing 1D barcodes in TSPL.
- (NSString *) description |
Returns a string that can be sent to the printer.
This method generates a string representation of the Barcode_1D 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 <IBarcode1D>.
- (instancetype) init |
Initializes a new instance of the Barcode_1D class.
Reimplemented from ABarcode1D.
- (instancetype) initWithBarcodeItem: | (id< IBarcodeItem >) | barcode |
Initializes a new instance of the Barcode_1D class with the specified barcode item.
barcode | The barcode item to be used for initialization. |
Reimplemented from ABarcode1D.