- Most parts of the code has been rewritten
- Added support for Android 8+
- Added support for iOS 10+
- Added support for the browser platform
- Added support for header and foooter
- Added support to print PDF files, images, Base64 encoded images
- And many more, see the new README
- Fixed incompatibility with Android KitKat (4.4)
- [change:] Changed plugin ID to
cordova-plugin-printer
- [change:] Plugin requires Android KitKat or newer
- [change:]
isAvailable
returns false if no enabled service can be found (Android) - [feature:] New
pick
interface to pick a printer for future usage - [feature:] Support for Windows10 platform (Thanks to #cristi-badila)
- [enhancement:]
isAvailable
returns count of available services (Android) - [enhancement:]
print
returns bool value to indicate the result - [enhancement:] Added missing
duplex
support (Android) - [change:]
duplex
requires a string (none
,long
orshort
) - [enhancement:] Support for
border
,hidePageRange
,hideNumberOfCopies
andhidePaperFormat
(iOS specific)
- [bugfix:]
isAvailable
does not block the main thread anymore. - [bugfix:] iPad+iOS8 incompatibility (Thanks to zmagyar)
- [enhancement:] Print-View positioning on iPad
- [enhancement:] Send direct to printer when printerId: is specified.
- Android Printing Framework support
- [change:] Renamed
isServiceAvailable
toisAvailable
- [enhancement:] New print options like
name
,landscape
orduplex
- [enhancement:] Ability to print remote content via URI
- [enhancement:] Callback support