summaryrefslogtreecommitdiff
path: root/chromium/printing/backend/cups_ipp_constants.cc
blob: d67e5004998b850250d230118da3145427bc6299 (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
// Copyright 2019 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/backend/cups_ipp_constants.h"

#include <cups/cups.h>

namespace printing {

constexpr char kIppCollate[] = "multiple-document-handling";  // PWG 5100.19
constexpr char kIppCopies[] = CUPS_COPIES;
constexpr char kIppColor[] = CUPS_PRINT_COLOR_MODE;
constexpr char kIppMedia[] = CUPS_MEDIA;
constexpr char kIppDuplex[] = CUPS_SIDES;
constexpr char kIppResolution[] = "printer-resolution";            // RFC 8011
constexpr char kIppRequestingUserName[] = "requesting-user-name";  // RFC 8011
constexpr char kIppPin[] = "job-password";                       // PWG 5100.11
constexpr char kIppPinEncryption[] = "job-password-encryption";  // PWG 5100.11

// collation values
constexpr char kCollated[] = "separate-documents-collated-copies";
constexpr char kUncollated[] = "separate-documents-uncollated-copies";

#if defined(OS_CHROMEOS)

constexpr char kIppDocumentAttributes[] =
    "document-creation-attributes";                              // PWG 5100.5
constexpr char kIppJobAttributes[] = "job-creation-attributes";  // PWG 5100.11

constexpr char kPinEncryptionNone[] = "none";

constexpr char kOptionFalse[] = "false";
constexpr char kOptionTrue[] = "true";

#endif  // defined(OS_CHROMEOS)

}  // namespace printing