POS Printer
Rev. 2.00
- 24 -
5-3-9 printText
Print text.
No operation takes place when there is no connected printer.
[Function prototype]
-
(long)printText:(NSString *)string
[Parameters]
string
Unicode data with null terminator. Print target text string
[Return Value]
Refer to 2-16 Result Code
[Discussion]
Tex alignment property should be set in advance.
[Availability]
SDK 0.6.0 and later
5-3-10 printBox
Print box shape text.
No action takes place if no printer is connected.
[Function prototype]
(long)printText:(int)width height: (int)height;
[Parameters]
int
Specify the width of the box.
1 == width equivalent to that of one character
int
Specify the length of the box.
1 == length equivalent to that of one character
[Return Value]
Refer to 2-16 Result Code
[Discussion]
Alignment and properties of the text should be defined in advance.
[Availability]
SDK 3.0.3 and later