Searched refs:printer_handle (Results 1 – 3 of 3) sorted by relevance
/external/chromium_org/printing/backend/ |
D | print_backend_win.cc | 104 ScopedPrinterHandle printer_handle; in GetPrinterSemanticCapsAndDefaults() local 105 if (!printer_handle.OpenPrinter(UTF8ToWide(printer_name).c_str())) { in GetPrinterSemanticCapsAndDefaults() 111 if (!info_5.Init(printer_handle)) { in GetPrinterSemanticCapsAndDefaults() 134 if (user_settings.Init(printer_handle)) { in GetPrinterSemanticCapsAndDefaults() 198 ScopedPrinterHandle printer_handle; in GetPrinterCapsAndDefaults() local 199 if (printer_handle.OpenPrinter(printer_name_wide.c_str())) { in GetPrinterCapsAndDefaults() 201 NULL, printer_handle, const_cast<LPTSTR>(printer_name_wide.c_str()), in GetPrinterCapsAndDefaults() 209 NULL, printer_handle, const_cast<LPTSTR>(printer_name_wide.c_str()), in GetPrinterCapsAndDefaults() 246 ScopedPrinterHandle printer_handle; in IsValidPrinter() local 247 return printer_handle.OpenPrinter(UTF8ToWide(printer_name).c_str()); in IsValidPrinter()
|
/external/chromium_org/cloud_print/virtual_driver/win/port_monitor/ |
D | port_monitor.cc | 54 PortData() : job_id(0), printer_handle(NULL), file(0) { in PortData() 60 if (printer_handle) { in Close() 61 ClosePrinter(printer_handle); in Close() 62 printer_handle = NULL; in Close() 70 HANDLE printer_handle; member 136 bool GetJobTitle(HANDLE printer_handle, in GetJobTitle() argument 139 DCHECK(printer_handle != NULL); in GetJobTitle() 142 GetJob(printer_handle, job_id, 1, NULL, 0, &bytes_needed); in GetJobTitle() 148 if (!GetJob(printer_handle, in GetJobTitle() 418 if (!OpenPrinter(printer_name, &(port_data->printer_handle), NULL)) { in Monitor2StartDocPort() [all …]
|
/external/chromium_org/chrome/service/cloud_print/ |
D | print_system_win.cc | 225 printing::ScopedPrinterHandle printer_handle; in GetJobDetails() local 227 printer_handle.OpenPrinter(printer_name_wide.c_str()); in GetJobDetails() 228 DCHECK(printer_handle.IsValid()); in GetJobDetails() 230 if (printer_handle.IsValid()) { in GetJobDetails() 232 GetJob(printer_handle, job_id, 1, NULL, 0, &bytes_needed); in GetJobDetails() 238 if (GetJob(printer_handle, job_id, 1, job_info_buffer.get(), bytes_needed, in GetJobDetails()
|