| Index: chrome/browser/resources/print_preview/data/destination_store.js
|
| diff --git a/chrome/browser/resources/print_preview/data/destination_store.js b/chrome/browser/resources/print_preview/data/destination_store.js
|
| index dafd6553b237f3a68c0e279e159bd63c44167ed7..1dd14719dbf7b7e5c46ee0b3e6fb4ff0823cb617 100644
|
| --- a/chrome/browser/resources/print_preview/data/destination_store.js
|
| +++ b/chrome/browser/resources/print_preview/data/destination_store.js
|
| @@ -1547,10 +1547,17 @@ cr.define('print_preview', function() {
|
| }
|
| destination.capabilities = capabilities;
|
| } else {
|
| + var printerOptions = null;
|
| + if ('cups_enterprise_printer' in event.settingsInfo) {
|
| + printerOptions = {'cups_enterprise_printer':
|
| + event.settingsInfo['cups_enterprise_printer']};
|
| + }
|
| +
|
| destination = print_preview.LocalDestinationParser.parse(
|
| {deviceName: destinationId,
|
| printerName: printerName,
|
| - printerDescription: printerDescription});
|
| + printerDescription: printerDescription,
|
| + printerOptions: printerOptions});
|
| destination.capabilities = capabilities;
|
| this.insertDestination_(destination);
|
| }
|
|
|