Skip to content

Commit bc029fe

Browse files
IBSNArogerwang
authored andcommitted
[IMP] Added documentation for the copies option in the printing API
1 parent 5a7238e commit bc029fe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/References/Window.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,7 @@ Print the web contents in the window without the need for user's interaction. `o
307307
* `shouldPrintBackgrounds` `{Boolean}` whether to print CSS backgrounds
308308
* `marginsType` `{Integer}` 0 - Default; 1 - No margins; 2 - minimum; 3 - Custom, see `marginsCustom`.
309309
* `marginsCustom` `{JSON Object}` the custom margin setting; units are points.
310+
* `copies` `{Integer}` the number of copies to print.
310311

311312
`marginsCustom` example: `"marginsCustom":{"marginBottom":54,"marginLeft":70,"marginRight":28,"marginTop":32}`
312313
`mediaSize` example: `'mediaSize':{'name': 'CUSTOM', 'width_microns': 279400, 'height_microns': 215900, 'custom_display_name':'Letter', 'is_default': true}`

0 commit comments

Comments
 (0)