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

Unified Diff: printing/backend/cups_ipp_util.cc

Issue 2117713002: Print directly to CUPS using the IPP APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ippRead
Patch Set: format and merge Created 4 years, 5 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
« no previous file with comments | « printing/backend/cups_ipp_util.h ('k') | printing/metafile.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/backend/cups_ipp_util.cc
diff --git a/printing/backend/cups_ipp_util.cc b/printing/backend/cups_ipp_util.cc
index 49f02d08a7a41b0d05308aa37340d3ea7f958710..eb5976d1f20da607493fa0c4bed2669481279ca4 100644
--- a/printing/backend/cups_ipp_util.cc
+++ b/printing/backend/cups_ipp_util.cc
@@ -22,15 +22,18 @@
namespace printing {
-namespace {
-
+// property names
const char kIppCollate[] = "sheet-collate"; // RFC 3381
const char kIppCopies[] = CUPS_COPIES;
const char kIppColor[] = CUPS_PRINT_COLOR_MODE;
const char kIppMedia[] = CUPS_MEDIA;
const char kIppDuplex[] = CUPS_SIDES;
+// collation values
const char kCollated[] = "collated";
+const char kUncollated[] = "uncollated";
+
+namespace {
const int kMicronsPerMM = 1000;
const double kMMPerInch = 25.4;
« no previous file with comments | « printing/backend/cups_ipp_util.h ('k') | printing/metafile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698