| Index: chrome/common/extensions/docs/templates/articles/manifest/usb_printers.html
|
| diff --git a/chrome/common/extensions/docs/templates/articles/manifest/usb_printers.html b/chrome/common/extensions/docs/templates/articles/manifest/usb_printers.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c8b9635b95634d047570b506779c799631d03eaa
|
| --- /dev/null
|
| +++ b/chrome/common/extensions/docs/templates/articles/manifest/usb_printers.html
|
| @@ -0,0 +1,28 @@
|
| +<h1>Manifest - USB Printers</h1>
|
| +
|
| +<p>
|
| +The <code>usbPrinters</code> manifest property declares which USB printers are supported by an app using the $(ref:printerProvider) API.
|
| +</p>
|
| +
|
| +<h2 id="manifest">Sample manifest.json</h2>
|
| +<pre data-filename="manifest.json">
|
| +{
|
| + "name": "My printer {{platform}}",
|
| + "usb_printers": {
|
| + "filters": [
|
| + // This app can print to the Nexus One and any printer made by Google.
|
| + { "vendorId": 6353, "productId": 19985 },
|
| + { "vendorId": 6353, "interfaceClass": 7 }
|
| + ]
|
| + },
|
| + ...
|
| +}
|
| +</pre>
|
| +
|
| +<section>
|
| +<h2 id="reference">Reference</h2>
|
| +<p class="api_reference">
|
| +{{+partials.manifest_type
|
| + type:apis.apps.extensionsManifestTypes.byName.UsbPrinters/}}
|
| +</p>
|
| +</section>
|
|
|