Hi,
I am using iOS SDK for printing from iPad. I have a ZQ620 printer. I am using the below code to print the image:
id graphicsUtil = [self.printer getGraphicsUtil];
NSError *error = nil;
success = [graphicsUtil printImage:[image CGImage] atX:0 atY:0 withWidth:-1 withHeight:-1 andIsInsideFormat:NO error:&error];
The final print is in portrait and goes out of the label. How can I rotate the image to landscape for printing?
Any help would be appreciated.
1 Replies
Unfortunately, the Link-OS SDK for iOS doesn't provide API for image rotation. The application would have to rotate the image first, before calling the printImage in the SDK.