Commit Graph

237 Commits

Author SHA1 Message Date
Sebastián Katzer
56dba89008 Set content to empty string if null or undefined 2019-03-01 19:58:15 +01:00
Sebastián Katzer
9cbb6b8f9a Fix potential unknown selector exception 2019-03-01 17:48:52 +01:00
Sebastián Katzer
9362e4c341 Fix potential NPE 2019-03-01 12:06:16 +01:00
Sebastián Katzer
02d54a063f Fix URI detection 2019-03-01 12:02:38 +01:00
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
4bba693cd5 Safely set the copies property 2019-02-13 12:08:03 +01:00
Sebastián Katzer
fa00761d3c Replace landscape option through orientation 2019-02-13 11:59:00 +01:00
Sebastián Katzer
b6683840ca Add missing autoFit option 2019-02-13 11:45:29 +01:00
Sebastián Katzer
933a871396 Fix URI detection 2019-02-13 11:32:22 +01:00
Sebastián Katzer
c1c5ce2091 Basic support for the browser platform 2019-02-12 17:32:42 +01:00
Sebastián Katzer
a23aff7b9d Fix typo 2019-02-12 12:52:06 +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
6b4972918e Update docs 2019-02-12 12:26:53 +01:00
Sebastián Katzer
42b439b4cb Fix docs 2019-02-12 12:24:53 +01:00
Sebastián Katzer
fe2f72ff1a Update docs 2019-02-12 12:22:33 +01:00
Sebastián Katzer
ee38edb616 Change pick() to accept ui options instead of general options 2019-02-12 09:48:22 +01:00
Sebastián Katzer
10645a709b Some reformatting 2019-02-12 09:47:19 +01:00
Sebastián Katzer
951348aee5 Ignore unknown chars from Base64 string 2019-02-11 19:20:47 +01:00
Sebastián Katzer
96a88759c5 Use top, left, width, height instead of bounds 2019-02-11 18:04:35 +01:00
Sebastián Katzer
6c91c1ac68 Fix linter warning 2019-02-11 15:02:00 +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
a4439df194 Started to update the docs 2019-02-06 11:55:54 +01:00
Sebastián Katzer
790aefeb86 Rename interface function "getPrintableUTIs" to "getPrintableTypes" 2019-02-06 11:54:59 +01:00
Sebastián Katzer
b34927d4a4 Rename option "printerId" to "printer" 2019-02-06 11:53:30 +01:00
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