Comments (9)
Hi,
It seem related to 64 bit support. Prev version only support 64 bit
Please try ver 1.0.2. Let me know if fixed the issue.
I don't have AIR 14 SDK or latest yet to test
from airprintane.
Hi,
Thanks for the swift response, I have been able to test your update. AIR 14 works with your extension but Apple doesn't accept it anymore, they accept only AIR 16 version an higher. Any chance you can get your hands on an AIR 16 SDK or have any idea to fix it? I can test if changes were effective or not.
from airprintane.
Hi,
I added new iOS library using iOS SDK 8.1 and ver 1.0.3 .ane built using AIR SDK 17.
Let me know if this update this issue
from airprintane.
Hi,
i have tried version 1.0.3 in iOS 8 but the problem still exists.
I had found similar issues in others frameworks, i send you some links, maybe it can help you to solve the problem.
katzer/cordova-plugin-printer#43
katzer/cordova-plugin-printer#26
Thanks
from airprintane.
Hi,
we have also tried and as caraiz noted, the problem is still there.
from airprintane.
Hi,
we've gotten it to work with the following code:
if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)
{
UIWindow *window = [[UIApplication sharedApplication] keyWindow];
UIView *view = window.rootViewController.view;
[printerController presentFromRect:CGRectMake(10, 10, 0, 0) inView:view animated:YES completionHandler:completionHandler];
}
else
{
[printerController presentAnimated:YES completionHandler:completionHandler];
}
Tested in iOS 7, 8.2 and 8.3.
The screen position is fixed at 10, 10, but will be fine that in the future the "printBitmapData" method admits a custom position (Point) and/or the align in screen (top_left, top_center, ...).
from airprintane.
Dear Januartha,
Can you try to update the code with the one caraiz suggested? Our programmer could not find the place to insert the code piece caraiz suggested.
Thanks
from airprintane.
@Queiron @caraiz please check latest committed (version 1.1.0).
I add posX and posY (default value = 10) for iPad only because I think this issue only on iPad
here the complete usage:
airPrintAne.printBitmapData (bitmapData, AirPrintANE.PRINT_OUT_DOCUMENT, AirPrintANE.PRINT_ORIENT_PORTRAIT, posX, posY);
from airprintane.
@janumedia Thanks for all the help, tested on iPad and iPhone as well, working perfectly. Im gonna close the issue, cheers
from airprintane.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from airprintane.