Skip to content

jaredgreener/AirPrintPlugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AirPrintPlugin

Air Print Plugin for Cordova 3+

This is a cordova-ready plugin for Apple AirPrint compatability. Instructions:

  1. Include the plugin via command line: cordova plugin add https://github.com/jaredgreener/AirPrintPlugin

  2. Include the JS file like so: <script type="text/javascript" charset="utf-8" src="AirPrint.js"></script>

  3. Call plugin like this: window.plugins.airPrint.print( "

    Hello World

    More HTML here...

    ", function() { // success callback

        }, 
        function() { // failure callback
        
        }
    );
    

Enjoy!

About

Air Print Plugin for Cordova 3+

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published