Update ios code for version 0.8

This commit is contained in:
Sebastián Katzer
2019-01-21 15:17:07 +01:00
parent 7905b71feb
commit 4046ab3473
12 changed files with 924 additions and 311 deletions

View File

@@ -28,15 +28,32 @@ var exec = require('cordova/exec');
*/
exports.getDefaults = function () {
return {
name: 'unknown',
duplex: 'none',
landscape: false,
graystyle: false,
border: true,
// name: 'unknown',
// duplex: 'none',
// landscape: false,
// graystyle: false,
// border: true,
copies: 1,
hideNumberOfCopies: false,
hidePaperFormat: false,
bounds: [40, 30, 0, 0]
ui: {
hideNumberOfCopies: false,
hidePaperFormat: false,
bounds: [40, 30, 0, 0]
},
paper: {
unit: 'cm',
height: 0,
width: 0,
length: 0
},
layout: {
unit: 'cm',
maxHeight: 0,
maxWidth: 0,
padding: { top: 0, left: 0, right: 0, bottom: 0 }
}
};
};