3-2-29 drawBarcodeRSS
This method requests the printing of drawBarcodeRSS barcode to the image buffer.
[Syntax]
-(long) drawBarcodeRSS:(NSString*)data
xPosition:(NSInteger)xPostion
yPosition:(NSInteger)yPostion
barcodeType:(NSInteger)barcodeType
magnification:(NSInteger)magnification // 1~10
separatorHeight:(NSInteger)separatorHeight // 1~2
barcodeHeight:(NSInteger)barcodeHeight
segmentWidth:(NSInteger)segmentWidth // 0~22
rotation:(NSInteger)rotation;
[Parameters]
data
Barcode value to print
xPosition
X coordinate of the position to print
yPosition
Y coordinate of the position to print
barcodeType
RSS barcode type (Reference: 2-13 RSS Barcode Type ).
magnification
magnification. (1~10)
separatorHeight
Height of separator (1~2)
barcodeHeight
Height of barcode.
segmentWidth
segmentWidth(0~22)
rotation
Rotation setting of barcode (Reference: 2-14 Rotation Degrees)
[Return Value]
Upon successful operation, _SDK_RESULT_SUCCESS will be returned.
Refer to the 2-1 Result Codes for more details on other result codes.
[Discussion]
Nothing will be printed when this API is called.
Contents requested by this API will be printed when 3-2-13 doPrint API is called.
[See Also]
2-1 Result Codes
2-13 RSS Barcode Type
2-14 Rotation Degrees
3-2-13 doPrint