Zebra Technologies ZQ110 Saw User Manual


 
ZQ110
Rev. 1.00
- 29 -
Mobile Printer
iOS SDK API Reference Guide
5-3-16 printBitmap
Print Image File
[Function prototype]
- (long)printBitmap:(NSString *)path
width:(long)width
alignment:(long)alignment
level:(long)level
[Parameters]
path
Path of image file
width
Width of image file to convert. Valid setting range is 0 to maximum width.
Image is resized with the given condition when the value is less than 0.
Refer to 2-8 Image Width
alignment
Image alignment setting
Refer to 2-3 Image Alignment
level
Color level and diffusion processing option of image
Value
Description
0 ~ 100
Color level value
If fourth digit is 1
Enable diffusion processing
If fifth digit is 1
Image print using ESC * command
Note: What is Error Diffusion?
Error Diffusion is a method to present the color image or black-and-white image with fewer
bits/pixel, which may produce few visible patterns (such as a snake-like pattern for a
certain type of image) but in general, the capability of sharp representation is excellent.
The disadvantage to this method is a long processing time because errors are measured
and an amount of computing is required for distributing the errors to neighboring pixels.
It is recommended that you use the diffusion algorithm with this SDK.
[Return Value]
Refer to 2-14 Result Code
[Availability]
SDK 1.0.0 and later