blob: d8eb0ce3c2b99d4ce32bc794c7adb4d4243496f7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "printing/print_job_constants.h"
namespace printing {
// Print job setting 'collate'.
const char kSettingCollate[] = "collate";
// Print out color: true for color, false for grayscale.
const char kSettingColor[] = "color";
// Number of copies.
const char kSettingCopies[] = "copies";
// Device name: Unique printer identifier.
const char kSettingDeviceName[] = "deviceName";
// Print job duplex mode.
const char kSettingDuplexMode[] = "duplex";
// Page orientation: true for landscape, false for portrait.
const char kSettingLandscape[] = "landscape";
// A page range.
const char kSettingPageRange[] = "pageRange";
// The first page of a page range. (1-based)
const char kSettingPageRangeFrom[] = "from";
// The last page of a page range. (1-based)
const char kSettingPageRangeTo[] = "to";
// Printer name.
const char kSettingPrinterName[] = "printerName";
// Print to PDF option: true if selected, false if not.
const char kSettingPrintToPDF[] = "printToPDF";
} // namespace printing
|