Return node::Buffer as a printToPDF callback result.
This commit is contained in:
parent
ab40da3f31
commit
ac62871645
4 changed files with 25 additions and 71 deletions
|
@ -89,7 +89,6 @@ wrapWebContents = (webContents) ->
|
|||
collate:true,
|
||||
shouldPrintBackgrounds:false,
|
||||
shouldPrintSelectionOnly:false
|
||||
silent:false
|
||||
|
||||
if options.landscape
|
||||
printingSetting.landscape = options.landscape
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue