Update README.md

This commit is contained in:
Sebastián Katzer 2014-10-13 23:32:32 +02:00
parent 15aa295cf6
commit 1c5b0314e7

View File

@ -165,7 +165,7 @@ The method takes a string or a HTML DOM node. The string can contain HTML conten
| duplex | Specifies the duplex mode to use for the print job.<br>Either double-sided (duplex:true) or single-sided (duplex:false).<br>Double-sided by default. | Boolean | iOS | | duplex | Specifies the duplex mode to use for the print job.<br>Either double-sided (duplex:true) or single-sided (duplex:false).<br>Double-sided by default. | Boolean | iOS |
| landscape| The orientation of the printed content, portrait or landscape.<br>_Portrait_ by default. | Boolean | all | | landscape| The orientation of the printed content, portrait or landscape.<br>_Portrait_ by default. | Boolean | all |
| graystyle | If your application only prints black text, setting this property to _true_ can result in better performance in many cases.<br>_False_ by default. | Boolean | all | | graystyle | If your application only prints black text, setting this property to _true_ can result in better performance in many cases.<br>_False_ by default. | Boolean | all |
| bounds | The Size & position of the print view | Array | iPad | | bounds | The Size and position of the print view | Array | iPad |
#### Further informations #### Further informations
- See the [isAvailable][available] method to find out if printing is available on the device. - See the [isAvailable][available] method to find out if printing is available on the device.
@ -243,7 +243,7 @@ cordova.plugins.printer.print('123', { name:'Document.html', landscape:true }, f
// Option one // Option one
cordova.plugins.printer.print('123', { bounds:[40, 30, 0, 0] }); cordova.plugins.printer.print('123', { bounds:[40, 30, 0, 0] });
// Option two // Option two
cordova.plugins.printer.print('123', { bounds:{ left:40, top:30, width:0 height: 0} }); cordova.plugins.printer.print('123', { bounds:{ left:40, top:30, width:0 height:0 } });
``` ```