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
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
86a74dc2ff
Support print options on windows
2016-07-31 14:50:24 +02:00
Sebastián Katzer
afaa6cd60d
Callback support for windows platform
2016-07-31 14:24:24 +02:00
Sebastián Katzer
2472d7208a
Refector windows platform
2016-07-31 14:14:42 +02:00
Pirvu Doru Lucian
970060a28e
support for windows 10 UWP apps
2016-07-29 21:34:06 +02:00
Sebastián Katzer
a4f5dd098f
Allow borderless printing on iOS
2016-07-28 20:36:05 +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
b3bd6e226f
Refactored new pick interfacer
2016-07-25 15:04:20 +02:00
Sebastián Katzer
dc57ab6234
Merge branch 'master' of https://github.com/nkjf5/cordova-plugin-printer into nkjf5-master
2016-07-25 14:19:06 +02:00
Sebastián Katzer
217d63292f
Fix isAvailable to return empty list on iOS
2016-07-24 13:49:23 +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
ea404a0acd
Several iOS specific options ( closes #59 )
2016-07-23 14:06:59 +02:00
Sebastián Katzer
031f4b385a
duplex
accepts an string now instead of boolean
2016-07-23 13:48:24 +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
1d5800c694
Merge pull request #76 from ErikWallin/master
...
Wait for webview to finish load content
2016-07-20 20:01:33 +02:00
filipe-nunes
15b9b588b2
CDV_IsIPad is deprecated
...
Changed to if([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPad)
2016-03-11 14:46:31 -01:00
Erik Wallin
96f3d6f099
Wait for webview to finish load
...
Big html documents is now fully loaded when UIPrintInteractionController is presented
2016-02-29 13:05:56 +01:00
Justin Fisher
6d864a32a7
Added support for Apple's UIPrinterPickerController
2015-06-23 12:58:41 -05:00
Sebastián Katzer
9d054714cd
Remove unused import
2015-04-23 09:24:07 +02:00
Sebastián Katzer
2fb312e34b
Do not present printer picker when printer is specified
2015-04-22 23:24:33 +02:00
Sebastián Katzer
15aa295cf6
Print-View positioning on iPad
2014-10-13 23:31:12 +02:00
Sebastián Katzer
268f1b652d
IPad+iOS8 incompatibility ( Fixes #26 )
2014-10-07 21:20:09 +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
b28d85ca9f
Merge branch 'kitkat'
...
Conflicts:
CHANGELOG.md
README.md
plugin.xml
src/android/Printer.java
src/ios/APPPrinter.m
www/printer.js
2014-09-12 11:45:58 +02:00
Sebastián Katzer
5493c652fd
isAvailable
does not block the main thread anymore
2014-09-12 10:53:44 +02:00
Sebastián Katzer
922870f95c
Rewrite JAVA code
2014-09-11 23:14:47 +02:00