Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6444)

Unified Diff: chrome/browser/resources/print_preview/print_preview.js

Issue 7817013: PrintPreview: Added code to identify the printer default duplex value. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/print_preview/print_preview.js
diff --git a/chrome/browser/resources/print_preview/print_preview.js b/chrome/browser/resources/print_preview/print_preview.js
index 51838a46e9a13ec51eb8a9227f3ed93cea4d018b..7ceb5c5dbf671baa3d15043e6894da8f3c151a88 100644
--- a/chrome/browser/resources/print_preview/print_preview.js
+++ b/chrome/browser/resources/print_preview/print_preview.js
@@ -236,7 +236,7 @@ function updateControlsWithSelectedPrinterCapabilities() {
updateWithPrinterCapabilities({
'disableColorOption': true,
'setColorAsDefault': true,
- 'setDuplexAsDefault': false,
+ 'printerDefaultDuplexValue': copiesSettings.SIMPLEX,
'disableCopiesOption': true});
} else {
// This message will call back to 'updateWithPrinterCapabilities'

Powered by Google App Engine
This is Rietveld 408576698