feat: allow customization of print page header and footer (#19688)
* feat: allow customization of more print settings * address feedback from @jkleinsc * header and footer are optional
This commit is contained in:
parent
84cbc1d6c0
commit
7861e9f728
2 changed files with 21 additions and 4 deletions
|
@ -1264,6 +1264,8 @@ Returns [`PrinterInfo[]`](structures/printer-info.md).
|
|||
* `dpi` Object (optional)
|
||||
* `horizontal` Number (optional) - The horizontal dpi.
|
||||
* `vertical` Number (optional) - The vertical dpi.
|
||||
* `header` String (optional) - String to be printed as page header.
|
||||
* `footer` String (optional) - String to be printed as page footer.
|
||||
* `callback` Function (optional)
|
||||
* `success` Boolean - Indicates success of the print call.
|
||||
* `failureReason` String - Called back if the print fails; can be `cancelled` or `failed`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue