EasyManua.ls Logo

BIXOLON SLP-DL413 - Printing a Circle to the Image Buffer; Printing a Text String with Device Font to the Image Buffer; Printing a Text String with Vector Font to the Image Buffer

BIXOLON SLP-DL413
64 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Label Printer SDK for iOS
Rev. 1.04
- 55 -
4-2-4 Printing a Circle to the Image Buffer
4-2-5 Printing a Text String with Device Font to the Image Buffer
4-2-6 Printing a Text String with Vector Font to the Image Buffer
lResult = [_printer drawTextDeviceFont:@"device Font Test"
xPosition:70 yPosition:220
fontSelection:_SDK_DEVICE_FONT_12PT
fontWidth:1 fontHeight:1
rightSideCharacterSpacing:0
fontRotation:_SDK_ROTATION_DEGREES_0
reverse:NObold:NO textAlignment:_SDK_ALIGNMENT_LEFT];
if(lResult == _SDK_RESULT_SUCCESS)
NSLog(@”drawTextDeviceFont Success”);
lResult = [_printer drawTextVectorFont:@"draw Font Test - Vector"
xPosition:50 yPosition:100
fontSelection:_SDK_VECTOR_FONT_ASCII
fontWidth:10 fontHeight:10
rightSideCharacterSpacing:0
fontRotation:_SDK_ROTATION_DEGREES_0
reverse:NO bold:YES italic:YES
textWriteDirectionRightToLeft:NO textAlignment:_SDK_ALIGNMENT_LEFT];
if(lResult == _SDK_RESULT_SUCCESS)
NSLog(@”drawTextVectorFont Success”);
lResult = [_printer drawCircle:200
startPosY:200
sizeSelection:_SDK_DRAW_CIRCLE_SIZE_40X40
multiplier:1];
if(lResult == _SDK_RESULT_SUCCESS)
NSLog(@”drawTextDeviceFont Success”);

Table of Contents