diff --git a/docs/api/web-contents.md b/docs/api/web-contents.md index b0a1253aa9e3..dd0493d0d21b 100644 --- a/docs/api/web-contents.md +++ b/docs/api/web-contents.md @@ -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: ''})`.