Change passive to active voice in printer README. (#882)
* Change passive to active voice in printer README. * Update api-samples/printing/README.md Co-authored-by: Oliver Dunk <oliverdunk@google.com> --------- Co-authored-by: Oliver Dunk <oliverdunk@google.com>
This commit is contained in:
Родитель
037bf12aac
Коммит
7f9f5b8482
|
@ -6,7 +6,7 @@ This sample demonstrates all four methods of the `chrome.printing` namespace.
|
|||
|
||||
The `chrome.printing` namespace only works on ChromeOS. The sample demonstrates how to get a list of available printers and display it to a user. A 'Print' button sends a sample PDF to the selected printer and makes a 'Cancel Printing' visible. This button is visible while the print job's status is `"PENDING"` or `"IN_PROGRESS"`. Note that on some systems, the print job is passed to the printer so quickly that you may never see the 'Cancel Printing' button.
|
||||
|
||||
If the extension is not listed in [`PrintingAPIExtensionsAllowlist`](https://chromeenterprise.google/policies/#PrintingAPIExtensionsAllowlist) policy, the user will be prompted to accept the print job.
|
||||
Calling `submitJob()` triggers a dialog box asking the user to confirm printing. Use the [`PrintingAPIExtensionsAllowlist`](https://chromeenterprise.google/policies/#PrintingAPIExtensionsAllowlist") policy to bypass confirmation.
|
||||
|
||||
## Implementation Notes
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче