summaryrefslogtreecommitdiffstats
path: root/printing
diff options
context:
space:
mode:
Diffstat (limited to 'printing')
-rw-r--r--printing/printing_context_mac.mm7
1 files changed, 7 insertions, 0 deletions
diff --git a/printing/printing_context_mac.mm b/printing/printing_context_mac.mm
index a933f74..acc9c28 100644
--- a/printing/printing_context_mac.mm
+++ b/printing/printing_context_mac.mm
@@ -39,6 +39,13 @@ PrintingContext::Result PrintingContext::AskUserForSettings(
// adding a new custom view to the panel on 10.5; 10.6 has
// NSPrintPanelShowsPrintSelection).
NSPrintPanel* panel = [NSPrintPanel printPanel];
+
+ NSPrintPanelOptions options = [panel options];
+ options |= NSPrintPanelShowsPaperSize;
+ options |= NSPrintPanelShowsOrientation;
+ options |= NSPrintPanelShowsScaling;
+ [panel setOptions:options];
+
// TODO(stuartmorgan): We really want a tab sheet here, not a modal window.
// Will require restructuring the PrintingContext API to use a callback.
NSInteger selection =