Commit Graph

57 Commits

Author SHA1 Message Date
Sebastián Katzer
395ccaf9f1 Tweak some code formatting 2019-03-01 11:52:19 +01:00
Sebastián Katzer
3cf978a0ff Move io methods from PrintContent to PrintIO class and fix mark/reset not supported [fixes #204] 2019-03-01 11:46:50 +01:00
Sebastián Katzer
82ba5c4a59 Allow margin:false as a shortcut for no margins 2019-02-12 12:44:33 +01:00
Sebastián Katzer
33814415db Rename maxPages to pageCount and partial support for Android 2019-02-11 12:05:09 +01:00
Sebastián Katzer
f29b519b90 Change options structure 2019-02-07 16:42:11 +01:00
Sebastián Katzer
13e6d4d941 Fix old property name 2019-02-07 16:38:44 +01:00
Sebastián Katzer
ec4f721270 Also rename internal "utis" functions 2019-02-06 12:02:41 +01:00
Sebastián Katzer
d74bd6c4b6 Fix missing callback with result on Android 2019-02-04 11:43:51 +01:00
Sebastián Katzer
0dac03a168 Support to set the font size for plain text on Android 2019-01-30 14:51:09 +01:00
Sebastián Katzer
d248974ae9 Some code refactoring 2019-01-30 12:07:42 +01:00
Sebastián Katzer
6767d20859 Implements printing plain text 2019-01-30 11:26:15 +01:00
Sebastián Katzer
d6e1adbbbc Print HTML markup 2019-01-29 16:44:54 +01:00
Sebastián Katzer
ab67054f63 Implements the ability to print the content of the own web view 2019-01-29 15:25:26 +01:00
Sebastián Katzer
884e5c4862 Improvements and fixes for Android 2019-01-29 14:33:59 +01:00
Sebastián Katzer
fc2bbeca53 Prefix classes 2019-01-29 01:39:49 +01:00
Sebastián Katzer
6c16959267 Initial reimplementation for Android 2019-01-28 22:28:55 +01:00
Mark Zealey
6e44eb9cde Enable printing current webview (#196)
Sometimes when doing complex rendering you want to print the current
webview rather than another page or link. This enables you to call
.print('') and it will print the current webview rather than a blank
page on both ios and android.
2018-12-21 12:13:01 +01:00
Vomatec Innovations
ee9fba07ac I fixed the app crashing exception for Android after pressing 'back' key multiple times after opening the print window. (#149) 2017-09-05 20:18:21 +02:00
nehresma
8b1f92a0a1 Added optional support for javascript to the WebView (#134) 2017-09-05 20:12:54 +02:00
Sebastián Katzer
231f9c5dd2 Fix code smells 2016-12-23 18:08:59 +01:00
Sebastián Katzer
ce5ace90b3 Fix broken interfaces with newest Android versions 2016-12-23 18:08:38 +01:00
Sebastián Katzer
917df3d6c3 Android 19 - No resource found [Fixes #97] 2016-12-18 13:45:59 +01:00
Sebastián Katzer
7a473e7dd6 Cleanup webview at latest point 2016-12-18 10:35:20 +01:00
Leibale Eidelman
e4f8e5fc2f Update Printer.java
Remove to early `view` cleanup.
the view might be needed in case of printer refresh or error.
2016-12-15 18:14:50 +02:00
Sebastián Katzer
7d38b4e354 Renamed isAvailable to check 2016-08-03 17:20:10 +02:00
Sebastián Katzer
a1dc163ccc Fix typo resulting into crash on KitKit (Closes #94) 2016-08-02 19:10:16 +02:00
Sebastián Katzer
144efee2a9 Added Meta#getClass 2016-08-02 19:08:51 +02:00
Sebastián Katzer
c75bd32982 Reuse already existing instance of print manager 2016-08-02 16:13:52 +02:00
Sebastián Katzer
62ae354984 Make usage of PrintJobStateChangeListener 2016-08-01 17:23:46 +02:00
Sebastián Katzer
2b5e25c09d Support for PrintJobStateChangeListener 2016-08-01 17:04:39 +02:00
Sebastián Katzer
2b0bbccc6f DiscoverySession -> session 2016-08-01 17:03:30 +02:00
Sebastián Katzer
daa7112642 Sens intent with action and also when back pressed 2016-08-01 17:02:17 +02:00
Sebastián Katzer
0fb7c4530f Added getId 2016-08-01 17:00:51 +02:00
Sebastián Katzer
50f9bcfd4e Cleanup on destroy 2016-08-01 17:00:33 +02:00
Sebastián Katzer
4251c0639d Support for picking a printer for iOS and Android 2016-07-27 14:24:48 +02:00
Sebastián Katzer
049f72dea6 Fix potential NPE 2016-07-26 20:44:10 +02:00
Sebastián Katzer
5c6c646e6d Fix potential crash and infinite loop (Closes #61) 2016-07-24 10:20:26 +02:00
Sebastián Katzer
147f562d0a Remove android auto print margin (Closes #81) 2016-07-24 09:53:51 +02:00
Sebastián Katzer
43c325317a print returns boolean to inform about the result 2016-07-23 13:18:24 +02:00
Sebastián Katzer
13c9d3dbef Various android enhancements - see the changelog 2016-07-23 10:33:28 +02:00
Sebastián Katzer
f44ed52148 Update header signature 2016-07-20 21:00:33 +02:00
Sebastián Katzer
9d054714cd Remove unused import 2015-04-23 09:24:07 +02:00
Sebastián Katzer
59b705cc73 Exec isAvailble on separate thread 2014-10-02 16:02:20 +02:00
Sebastián Katzer
fb77141140 Some small cleanup 2014-10-02 16:01:12 +02:00
Sebastián Katzer
922870f95c Rewrite JAVA code 2014-09-11 23:14:47 +02:00
Sebastián Katzer
c54a18a5a2 Rename isServiceAvailable to isAvailable 2014-09-07 23:05:25 +02:00
Sebastián Katzer
43bd2ff428 Fix unknown class error 2014-09-07 22:32:50 +02:00
Sebastián Katzer
b74d9f1825 Add KitKat support - requires Android SDK 19 or higher 2013-12-15 11:09:02 +01:00
Sebastián Katzer
cf76737e21 Add Android KitKat support 2013-12-11 15:49:00 +01:00
Sebastián Katzer
c039585469 Plugin has now its own package namespace 2013-12-11 14:05:15 +01:00