From 3024d0563fefdefff8b6d64303426e28f31a6504 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Tue, 31 Jan 2017 17:41:05 +0900 Subject: [PATCH] There were new defaultPrintingSetting fields added --- lib/browser/api/web-contents.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/browser/api/web-contents.js b/lib/browser/api/web-contents.js index de31eeb70576..a92ef7603b25 100644 --- a/lib/browser/api/web-contents.js +++ b/lib/browser/api/web-contents.js @@ -72,6 +72,8 @@ const defaultPrintingSetting = { deviceName: 'Save as PDF', generateDraftData: true, fitToPageEnabled: false, + scaleFactor: 1, + rasterizePDF: false, duplex: 0, copies: 1, collate: true,