Not printing correctly using link-os Library on iOS Device

M Manish Khandelwal 2 years 9 months ago
2 1 0

Hi,
I am using link-OS Zebra library in iOS app for printing badges(Images). I am using ZEBRA ZD500 printer.
And I am using following method for print:
- (BOOL) printImage:(CGImageRef)image
atX:(NSInteger)x
atY:(NSInteger)y
withWidth:(NSInteger)width
withHeight:(NSInteger)height
andIsInsideFormat:(BOOL)isInsideFormat
error:(NSError **)error
I am passing -1 for width and height.
because passing -1 will preserve original width and height.
But it is not printing in correct dimensions. Even I have passed actual width and height then also it is not printing in correct dimensions.

Please register or login to post a reply

1 Replies

A Alexander Palchikov

Hi Manish
Why do you think your label is printed incorrectly?It looks like it is printed correctly. I think you have an issue in preview mode, I believe the reason is in differences between DPI of printer and device screen (preview).Look at the texts. They are placed correctly and the image is placed correctly in relation to the texts.
 
Alexander PalchikovSoftware Engineer, Kutir MobilityPosted on behalf of Zebra Technologies

CONTACT
Can’t find what you’re looking for?