| 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 ba8f6fc65f3cb922ae16904a4360b4373c7d00e9..e3e890ed3a5181aed8d7b70851a85372bd6cbd8d 100644
|
| --- a/chrome/browser/resources/print_preview/data/destination_store.js
|
| +++ b/chrome/browser/resources/print_preview/data/destination_store.js
|
| @@ -1602,10 +1602,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);
|
| }
|
|
|