Commit Graph

37 Commits

Author SHA1 Message Date
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
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
7d38b4e354 Renamed isAvailable to check 2016-08-03 17:20:10 +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
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
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
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
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
5493c652fd isAvailable does not block the main thread anymore 2014-09-12 10:53:44 +02:00
Sebastián Katzer
7cae0fa4a5 Ability to print remote content via URI 2014-09-11 23:14:18 +02:00
Sebastián Katzer
43625bd313 Update ios 2014-09-07 22:52:36 +02:00
Sebastián Katzer
83fcdc8612 Small code changes 2013-12-11 13:38:01 +01:00
Sebastián Katzer
1a40324682 Removed the callback property from the print interface 2013-12-11 13:21:23 +01:00
Sebastián Katzer
9463786343 Release under Apache 2.0 license 2013-12-11 13:00:16 +01:00
Sebastián Katzer
a17e0d006d Ios an neue callback codes angepasst 2013-08-24 20:59:49 +02:00
Sebastián Katzer
3d9aa7b9d5 Kleine Namensänderung 2013-08-22 22:42:28 +02:00
Sebastián Katzer
9a4b0fa294 Code refactoring 2013-08-13 15:39:22 +02:00
Sebastián Katzer
193ff10f94 Für Callbacks können Scopes angegeben werden. print() benötigt nur noch eine Callback-Funktion. 2013-08-13 11:01:15 +02:00
Sebastián Katzer
d2e3b642cc Styleguide fixes 2013-08-11 11:43:58 +02:00
Sebastián Katzer
e6f0843806 Display only public interfaces in header file 2013-08-11 11:37:59 +02:00
Sebastián Katzer
02e69c5443 Styleguide fix 2013-08-11 11:35:40 +02:00
Sebastián Katzer
93a57a7a61 Changed namespace 2013-08-10 16:13:04 +02:00