Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/janumedia/airprintane
AirPrint NativeExtension for iOS, enable print BitmapData
https://github.com/janumedia/airprintane
adobe-air airprint ane ios objective-c
Last synced: 3 months ago
JSON representation
AirPrint NativeExtension for iOS, enable print BitmapData
- Host: GitHub
- URL: https://github.com/janumedia/airprintane
- Owner: janumedia
- Created: 2013-06-21T14:44:53.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2016-09-04T06:51:56.000Z (over 8 years ago)
- Last Synced: 2024-05-30T16:29:04.411Z (9 months ago)
- Topics: adobe-air, airprint, ane, ios, objective-c
- Language: C
- Homepage:
- Size: 406 KB
- Stars: 11
- Watchers: 5
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Air Print Native Extension for iOS
======================================AirPrintANE version 1.1.1 enable print bitmapData using iOS Air Print.
Extension ID
---------```
com.janumedia.ane.AirPrintANE
```Usage
---------```
var airPrintAne:AirPrintANE = new AirPrintANE ();
airPrintAne.addEventListener(StatusEvent.STATUS, onAirPrintStatus);
airPrintAne.printBitmapData (bitmapData, AirPrintANE.PRINT_OUT_DOCUMENT, AirPrintANE.PRINT_ORIENT_PORTRAIT, posX, posY);// get current version
trace("AirPrintAne version", airPrinterAne.getVersion);function onAirPrintStatus(e:StatusEvent):void
{
trace(this, "onAirPrintStatus", e.code, e.level);
switch(e.code)
{
case AirPrintANE.PRINT_STATUS_COMPLETE:
//do something here
break;
case AirPrintANE.PRINT_STATUS_CANCELED:
//do something here
break;
case AirPrintANE.PRINT_STATUS_ERROR:
//do something here
break;
}
}
```Author
---------This ANE has been writen by [I Nengah Januartha](https://github.com/janumedia). It belongs to [JanuMedia Inc.](http://www.janumedia.com) and is distributed under the [Apache Licence, version 2.0](http://www.apache.org/licenses/LICENSE-2.0).