Tweak print docs
This commit is contained in:
parent
92f14f8d52
commit
e0b39247a9
1 changed files with 3 additions and 3 deletions
|
@ -958,11 +958,11 @@ Get the system printer list, the result is an array of printer descriptions.
|
|||
* `silent` Boolean - Don't ask user for print settings. Default is `false`.
|
||||
* `printBackground` Boolean - Also prints the background color and image of
|
||||
the web page. Default is `false`.
|
||||
* `deviceName` String - Set the printer
|
||||
* `deviceName` String - Set the printer device name to use. Default is `''`.
|
||||
|
||||
Prints window's web page. When `silent` is set to `true`, Electron will pick
|
||||
up printer depending on `deviceName`(when left will pick system's default printer)
|
||||
and default settings for printing.
|
||||
the system's default printer if `deviceName` is empty and the default settings
|
||||
for printing.
|
||||
|
||||
Calling `window.print()` in web page is equivalent to calling
|
||||
`webContents.print({silent: false, printBackground: false, deviceName: ''})`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue