Home
last modified time | relevance | path

Searched refs:printer_info (Results 1 – 23 of 23) sorted by relevance

/external/chromium_org/printing/backend/
Dprint_backend_cups.cc115 PrinterSemanticCapsAndDefaults* printer_info) OVERRIDE;
118 PrinterCapsAndDefaults* printer_info) OVERRIDE;
173 PrinterBasicInfo printer_info; in EnumeratePrinters() local
174 printer_info.printer_name = printer.name; in EnumeratePrinters()
175 printer_info.is_default = printer.is_default; in EnumeratePrinters()
180 printer_info.printer_description = info; in EnumeratePrinters()
185 base::StringToInt(state, &printer_info.printer_status); in EnumeratePrinters()
191 printer_info.options[kDriverInfoTagName] = *drv_info; in EnumeratePrinters()
195 printer_info.options[printer.options[opt_index].name] = in EnumeratePrinters()
199 printer_list->push_back(printer_info); in EnumeratePrinters()
[all …]
Dprint_backend_win.cc49 PrinterSemanticCapsAndDefaults* printer_info) OVERRIDE;
52 PrinterCapsAndDefaults* printer_info) OVERRIDE;
79 PRINTER_INFO_4* printer_info = in EnumeratePrinters() local
84 if (printer.OpenPrinter(printer_info[index].pPrinterName) && in EnumeratePrinters()
103 PrinterSemanticCapsAndDefaults* printer_info) { in GetPrinterSemanticCapsAndDefaults() argument
159 *printer_info = caps; in GetPrinterSemanticCapsAndDefaults()
165 PrinterCapsAndDefaults* printer_info) { in GetPrinterCapsAndDefaults() argument
174 DCHECK(printer_info); in GetPrinterCapsAndDefaults()
194 &printer_info->printer_capabilities); in GetPrinterCapsAndDefaults()
196 printer_info->caps_mime_type = "text/xml"; in GetPrinterCapsAndDefaults()
[all …]
Dprint_backend_chromeos.cc21 PrinterSemanticCapsAndDefaults* printer_info) OVERRIDE;
24 PrinterCapsAndDefaults* printer_info) OVERRIDE;
41 PrinterSemanticCapsAndDefaults* printer_info) { in GetPrinterSemanticCapsAndDefaults() argument
48 PrinterCapsAndDefaults* printer_info) { in GetPrinterCapsAndDefaults() argument
Dwin_helper.cc282 bool InitBasicPrinterInfo(HANDLE printer, PrinterBasicInfo* printer_info) { in InitBasicPrinterInfo() argument
284 DCHECK(printer_info); in InitBasicPrinterInfo()
292 printer_info->printer_name = WideToUTF8(info_2.get()->pPrinterName); in InitBasicPrinterInfo()
294 printer_info->printer_description = WideToUTF8(info_2.get()->pComment); in InitBasicPrinterInfo()
296 printer_info->options[kLocationTagName] = in InitBasicPrinterInfo()
299 printer_info->options[kDriverNameTagName] = in InitBasicPrinterInfo()
301 printer_info->printer_status = info_2.get()->Status; in InitBasicPrinterInfo()
305 printer_info->options[kDriverInfoTagName] = driver_info; in InitBasicPrinterInfo()
Dprint_backend.h86 PrinterSemanticCapsAndDefaults* printer_info) = 0;
91 PrinterCapsAndDefaults* printer_info) = 0;
Dcups_helper.h42 PrinterSemanticCapsAndDefaults* printer_info);
Dwin_helper.h168 PrinterBasicInfo* printer_info);
Dcups_helper.cc342 PrinterSemanticCapsAndDefaults* printer_info) { in ParsePpdCapabilities() argument
395 *printer_info = caps; in ParsePpdCapabilities()
/external/chromium_org/chrome/service/cloud_print/
Dcloud_print_service_helpers_unittest.cc52 printing::PrinterBasicInfo printer_info; in TEST() local
53 printer_info.options["tag1"] = std::string("value1"); in TEST()
54 printer_info.options["tag2"] = std::string("value2"); in TEST()
63 GetHashOfPrinterInfo(printer_info)); in TEST()
67 printing::PrinterBasicInfo printer_info; in TEST() local
68 printer_info.options["tag1"] = std::string("value1"); in TEST()
69 printer_info.options["tag2"] = std::string("value2"); in TEST()
88 GetHashOfPrinterInfo(printer_info).c_str()); in TEST()
91 printer_info, std::string("test_mime_boundary"))); in TEST()
Dcloud_print_service_helpers.cc70 const printing::PrinterBasicInfo& printer_info) { in GetHashOfPrinterInfo() argument
71 return GetHashOfPrinterTags(printer_info.options); in GetHashOfPrinterInfo()
75 const printing::PrinterBasicInfo& printer_info, in GetPostDataForPrinterInfo() argument
78 printer_info.options, in GetPostDataForPrinterInfo()
Dprinter_job_handler.cc61 const printing::PrinterBasicInfo& printer_info, in PrinterJobHandler() argument
67 printer_info_(printer_info), in PrinterJobHandler()
635 printing::PrinterBasicInfo printer_info; in UpdatePrinterInfo() local
636 printer_watcher_->GetCurrentPrinterInfo(&printer_info); in UpdatePrinterInfo()
641 printer_info.printer_name.c_str(), in UpdatePrinterInfo()
667 printing::PrinterBasicInfo printer_info; in OnReceivePrinterCaps() local
669 printer_watcher_->GetCurrentPrinterInfo(&printer_info); in OnReceivePrinterCaps()
696 std::string tags_hash = GetHashOfPrinterInfo(printer_info); in OnReceivePrinterCaps()
699 post_data += GetPostDataForPrinterInfo(printer_info, mime_boundary); in OnReceivePrinterCaps()
716 if (printer_info.printer_name != printer_info_.printer_name) { in OnReceivePrinterCaps()
[all …]
Dprint_system_cups.cc116 printing::PrinterCapsAndDefaults* printer_info);
159 const printing::PrinterCapsAndDefaults& printer_info);
286 printing::PrinterBasicInfo* printer_info) OVERRIDE { in GetCurrentPrinterInfo() argument
287 DCHECK(printer_info); in GetCurrentPrinterInfo()
288 return print_system_->GetPrinterInfo(printer_name_, printer_info); in GetCurrentPrinterInfo()
529 printing::PrinterCapsAndDefaults printer_info; in GetPrinterCapsAndDefaults() local
530 bool succeeded = GetPrinterCapsAndDefaults(printer_name, &printer_info); in GetPrinterCapsAndDefaults()
537 printer_info)); in GetPrinterCapsAndDefaults()
575 printing::PrinterCapsAndDefaults* printer_info) { in GetPrinterCapsAndDefaults() argument
586 *printer_info = caps_it->second; in GetPrinterCapsAndDefaults()
[all …]
Dprint_system_win.cc96 bool GetCurrentPrinterInfo(printing::PrinterBasicInfo* printer_info) { in GetCurrentPrinterInfo() argument
97 DCHECK(printer_info); in GetCurrentPrinterInfo()
98 return InitBasicPrinterInfo(printer_, printer_info); in GetCurrentPrinterInfo()
171 printing::PrinterBasicInfo* printer_info) OVERRIDE { in GetCurrentPrinterInfo() argument
172 return watcher_.GetCurrentPrinterInfo(printer_info); in GetCurrentPrinterInfo()
Dcloud_print_service_helpers.h28 const printing::PrinterBasicInfo& printer_info);
32 const printing::PrinterBasicInfo& printer_info,
Dcloud_print_connector.cc401 printing::PrinterBasicInfo printer_info; in InitJobHandlerForPrinter() local
402 printer_data->GetString(kNameValue, &printer_info.printer_name); in InitJobHandlerForPrinter()
403 DCHECK(!printer_info.printer_name.empty()); in InitJobHandlerForPrinter()
405 &printer_info.printer_description); in InitJobHandlerForPrinter()
409 base::StringToInt(printer_status, &printer_info.printer_status); in InitJobHandlerForPrinter()
434 job_handler = new PrinterJobHandler(printer_info, in InitJobHandlerForPrinter()
486 task.printer_info = info; in AddPendingRegisterTask()
512 OnPrinterRegister(task.printer_info); in ProcessPendingTask()
603 const printing::PrinterBasicInfo& info = pending_tasks_.front().printer_info; in OnReceivePrinterCaps()
Dcloud_print_connector.h80 printing::PrinterBasicInfo printer_info; // For pending registration. member
Dprint_system.h109 printing::PrinterBasicInfo* printer_info) = 0;
Dprinter_job_handler.h95 PrinterJobHandler(const printing::PrinterBasicInfo& printer_info,
Dprinter_job_handler_unittest.cc332 bool(printing::PrinterBasicInfo* printer_info));
/external/chromium_org/cloud_print/virtual_driver/win/install/
Dsetup.cc339 PRINTER_INFO_2 printer_info = {0}; in InstallPrinter() local
344 printer_info.pDriverName = const_cast<LPWSTR>(driver_name.c_str()); in InstallPrinter()
345 printer_info.pPrinterName = const_cast<LPWSTR>(driver_name.c_str()); in InstallPrinter()
346 printer_info.pComment = const_cast<LPWSTR>(driver_name.c_str()); in InstallPrinter()
347 printer_info.pLocation = const_cast<LPWSTR>(kGcpUrl); in InstallPrinter()
349 printer_info.pPortName = const_cast<LPWSTR>(kPortName); in InstallPrinter()
350 printer_info.Attributes = PRINTER_ATTRIBUTE_DIRECT|PRINTER_ATTRIBUTE_LOCAL; in InstallPrinter()
351 printer_info.pPrintProcessor = L"winprint"; in InstallPrinter()
352 HANDLE handle = AddPrinter(NULL, 2, reinterpret_cast<BYTE*>(&printer_info)); in InstallPrinter()
/external/chromium/chrome/browser/ui/webui/
Dprint_preview_handler.cc127 printing::PrinterCapsAndDefaults printer_info; in GetPrinterCapabilities() local
130 &printer_info)) { in GetPrinterCapabilities()
139 int data_size = printer_info.printer_capabilities.length(); in GetPrinterCapabilities()
142 printer_info.printer_capabilities.data(), in GetPrinterCapabilities()
/external/chromium_org/chrome/browser/ui/webui/print_preview/
Dprint_preview_handler.cc288 base::DictionaryValue* printer_info = new base::DictionaryValue; in EnumeratePrintersOnFileThread() local
297 printer_info->SetString(printing::kSettingPrinterName, printer_name); in EnumeratePrintersOnFileThread()
298 printer_info->SetString(printing::kSettingDeviceName, it->printer_name); in EnumeratePrintersOnFileThread()
301 printers->Append(printer_info); in EnumeratePrintersOnFileThread()
1486 base::DictionaryValue printer_info; in OnPrivetCapabilities() local
1495 FillPrinterDescription(name, *description, true, &printer_info); in OnPrivetCapabilities()
1499 printer_info, in OnPrivetCapabilities()
/external/chromium_org/chrome/utility/
Dchrome_content_utility_client.cc719 printing::PrinterCapsAndDefaults printer_info; in OnGetPrinterCapsAndDefaults() local
724 if (print_backend->GetPrinterCapsAndDefaults(printer_name, &printer_info)) { in OnGetPrinterCapsAndDefaults()
726 printer_name, printer_info)); in OnGetPrinterCapsAndDefaults()