Zebra Technologies EM220II Printer User Manual


 
EM220II
Rev. 1.00
- 29 -
Mobile Printer
iOS SDK API Reference Guide
5-3-14 nextPrintPos
Feed the paper to the beginning of the next label paper.
[Function prototype]
- (long)nextPrintPos
[Return Value]
Refer to 2-16 Result Code
[Discussion]
This method works only when in label mode.
[Availability]
SDK 1.0.0 and later
5-3-15 cutPaper
Cuts paper.
Support Device : Only thermal printer, EM220II is not support.
[Function prototype]
- (long)cutPaper
[Return Value]
Refer to 2-16 Result Code
[Availability]
SDK 1.0.0 and later
5-3-16 printBarcode
Print one-dimensional and two-dimensional bar code.
[Function prototype]
- (long)printBarcode:(char *)data
symbology:(long)symbology
width:(long)width
height:(long)height
alignment:(long)alignment
textPosition:(long)textPosition
[Parameters]
data
ANSI code data with null terminator. Transfer bar code data to print
symbology
Define bar code type.
width
Width of barcode, valid range is 2~7
Barcode printing may not work properly if the width of barcode print exceeds the
printer paper width.
This setting does not affect 2-dimensional bar code.
height
Height of bar code, unit is number of dot, range is 1~255
This setting does not affect 2-dimensional bar code.