Commit Graph

209 Commits

Author SHA1 Message Date
Sebastián Katzer
d74bd6c4b6 Fix missing callback with result on Android 2019-02-04 11:43:51 +01:00
Sebastián Katzer
49ad2187df Some fixes and enhancements for Windows 2019-02-01 14:47:07 +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
113dde9f0a Apple Windows crash fix 2019-01-30 12:18:18 +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
Sebastián Katzer
652c6c62c2 Pick() is only supported on iOS platform 2019-01-28 11:05:26 +01:00
Sebastián Katzer
bf1b308750 Fix false unit not recognized warning 2019-01-25 14:20:59 +01:00
Sebastián Katzer
0d36c1034b Rename canPrint to canPrintItem 2019-01-25 14:10:16 +01:00
Sebastián Katzer
ce27a883ab Update plugin interface with some breaking changes 2019-01-25 12:42:22 +01:00
Sebastián Katzer
98b5d32527 Allow negative values for maxPages
maxPages: -1 means to skip the last page
2019-01-24 12:14:31 +01:00
Sebastián Katzer
783cc42613 Support for maxPages to be able to skip possible empty last pages 2019-01-24 12:08:38 +01:00
Sebastián Katzer
ea223c3609 Prefix style attributes in header/footer with style and support relative positions 2019-01-24 11:46:20 +01:00
Sebastián Katzer
22e8d95128 Support style attributes for simple text formatter 2019-01-23 16:42:27 +01:00
Sebastián Katzer
e1405e914b Cleanup APPPrinterRenderer by introducing APPPrinterStyle 2019-01-23 15:45:40 +01:00
Sebastián Katzer
69541fb13e Finished implementation for header/footer for iOS 2019-01-22 15:27:31 +01:00
Sebastián Katzer
ee88021da0 Add APPPrinterUnit to avoid code duplication 2019-01-21 19:17:30 +01:00
Sebastián Katzer
578342516a Initial support for header and footer 2019-01-21 17:52:28 +01:00
Sebastián Katzer
60444a8534 UIPrintInteractionController+APPPrinter category
Removes the need for special property to save the user setting
2019-01-21 16:53:31 +01:00
Sebastián Katzer
4046ab3473 Update ios code for version 0.8 2019-01-21 15:17:07 +01:00
Sebastián Katzer
7905b71feb Set number of copies for iOS 2019-01-03 16:52:10 +01:00
Sebastián Katzer
c19cec7415 Fix some warnings/deprecations for iOS and improve code 2018-12-21 12:47:34 +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
Constantin
675b3f5962 Support for roll printers (#185)
* Added ability to hint papersize

and cut on roleprinters

* Documentation of paper formats and cuts

* fixed pick printer without bounds

* removed NSLog
2018-12-17 11:33:28 +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
kentongray
d2486217f0 Cache UIPrinter (#128)
* Cache UIPrinter

This speeds up printing time from 25 seconds to < 5

* Switching to isEqualToString
2017-09-05 20:10:59 +02:00
Sebastián Katzer
99f50db26e Regenerate package.json with plugman 2017-09-03 11:06:50 +02:00
Jan Piotrowski
44ef693d6d Fix README (#145) 2017-07-10 11:48:49 +02:00
Sebastián Katzer
a646b183a0 Update changelog 2016-12-23 18:09:18 +01: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
bf43a8026c Bump version to next dev cycle v0.7.4 2016-12-23 18:07:51 +01:00
Sebastián Katzer
9846a63ea0 Fix travis 2016-12-21 22:57:25 +01:00
Sebastián Katzer
ac03532de5 Release v0.7.3 2016-12-19 15:16:59 +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
Sebastián Katzer
2c9cafe1ed Merge pull request #117 from leibale/master
Remove to early view cleanup
2016-12-18 10:19:52 +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
554e7f6bd1 Update changelog
print returns boolean flag
2016-08-15 20:24:34 +02:00
Sebastián Katzer
2ab675e3cc Integration of tracis-ci script 2016-08-13 16:24:52 +02:00
Sebastián Katzer
b1297965a5 Travis-ci build badge 2016-08-12 11:53:41 +02:00
Sebastián Katzer
d0ee7c22d9 Set alignment to fix layout on npm 2016-08-12 09:23:03 +02:00
Sebastián Katzer
47f64015a4 Add hint about Android N 2016-08-08 09:26:16 +02:00
Sebastián Katzer
f72ceb93bd Update README.md
Fixed wrong default value
2016-08-05 16:50:44 +02:00