EasyManua.ls Logo

BIXOLON SLP-DL413 - Printing Two or more Contents on One Side; Lresult; Fontselection:_Sdk_Device_Font_12 Pt; Fontwidth:1 Fontheight:1 Rightsidecharacterspacing:0 Fontrotation:_Sdk_Rotation_Degrees_0

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
- 53 -
4-1-3 Printing Two or More Contents on One Side
General Initialize … (Declare ~ Connect)
Reference : 4-1-1 General
// [Contents 1]
Long lResult =
[_printer drawImage: _imageSample.image
stratPosX:100
startPosY:100
width:300];
if(lResult = _SDK_RESULT_SUCCESS)
NSLog(@”drawImage Success”);
// [Contents 2]
lResult =
[_printer drawTextDeviceFont:@"0* 12pt,
70, 220" xPosition:70 yPosition:220
fontSelection:_SDK_DEVICE_FONT_12PT
fontWidth:1 fontHeight:1
rightSideCharacterSpacing:0
fontRotation:_SDK_ROTATION_DEGREES
_0 reverse:NO bold:NO
textAlignment:_SDK_ALIGNMENT_LEFT];
if(lResult = _SDK_RESULT_SUCCESS)
NSLog(@”drawText Success”);
Long lResult = [_printer doPrint:1];
if(lResult = _SDK_RESULT_SUCCESS)
NSLog(@”drawImage Success”);
General DeInitialize … (Declare ~ Connect)
Reference : 4-1-1 General
START
General
DeInitialize
General Initialize
END
doPrint:1
USE

Table of Contents