Sebastián Katzer
82ba5c4a59
Allow margin:false
as a shortcut for no margins
2019-02-12 12:44:33 +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
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
ec4f721270
Also rename internal "utis" functions
2019-02-06 12:02:41 +01:00
Sebastián Katzer
b34927d4a4
Rename option "printerId" to "printer"
2019-02-06 11:53:30 +01:00
Sebastián Katzer
884e5c4862
Improvements and fixes for Android
2019-01-29 14:33:59 +01:00
Sebastián Katzer
bf1b308750
Fix false unit not recognized warning
2019-01-25 14:20:59 +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
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
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
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
59f848b293
Update iOS a bit
2014-07-13 13:09:42 +02:00
Sebastián Katzer
03b70956ba
Fix isServiceAvailable issue (solves #11 )
2014-07-13 11:26:58 +02:00
Sebastián Katzer
035bc68200
Small ios code rework
2014-03-22 14:15:23 +01:00
Sebastián Katzer
90ba170849
Small file header change
2014-02-28 17:11:21 +01:00