Label Printer SDK for iOS
Rev. 1.04
4-2-13 Printing Code49 Barcode to the Image Buffer
4-2-14 Printing Codablock Barcode to the Image Buffer
4-2-15 Printing MicroPDF417 Barcode to the Image Buffer
lResult = [_printer drawBarcodeCode49:@"Code 49 Test"
xPosition:600 yPosition:400
widthNarrow:1 widthWide:3
height:100
hri:_SDK_BARCODE_HRI_ABOVE_FONTSIZE1
startingMode:_SDK_STARTINGMODE_AUTOMATIC
rotation:_SDK_ROTATION_DEGREES_0];
if(lResult == _SDK_RESULT_SUCCESS)
NSLog(@” drawBarcodeCode49 Success”);
lResult = [_printer drawBarcodeIMB:@"01234567890123456789"
xPosition:50 yPosition:1000
printBarcodeText:YES
rotation:_SDK_ROTATION_DEGREES_0];
if(lResult == _SDK_RESULT_SUCCESS)
NSLog(@” drawBarcodeCodaBlock Success”);
lResult = [_printer drawBarcodeMicroPDF:@"MICRO PDF 417 TEST"
xPosition:50 yPosition:900
moduleWidth:4
barcodeHeight:4
mode:8
rotation:_SDK_ROTATION_DEGREES_0];
if(lResult == _SDK_RESULT_SUCCESS)
NSLog(@”drawBarcodeMicroPDF Success”);