Searched defs:printer_handle (Results 1 - 3 of 3) sorted by relevance

/external/chromium_org/printing/backend/
H A Dprint_backend_win.cc219 ScopedPrinterHandle printer_handle; local
220 if (!printer_handle.OpenPrinter(base::UTF8ToWide(printer_name).c_str())) {
226 if (!info_5.Init(printer_handle.Get()))
235 CreateDevMode(printer_handle.Get(), NULL);
322 ScopedPrinterHandle printer_handle; local
323 if (printer_handle.OpenPrinter(printer_name_wide.c_str())) {
325 CreateDevMode(printer_handle.Get(), NULL));
361 ScopedPrinterHandle printer_handle; local
362 return printer_handle.OpenPrinter(base::UTF8ToWide(printer_name).c_str());
/external/chromium_org/cloud_print/virtual_driver/win/port_monitor/
H A Dport_monitor.cc54 PortData() : job_id(0), printer_handle(NULL), file(0) {
60 if (printer_handle) {
61 ClosePrinter(printer_handle);
62 printer_handle = NULL;
70 HANDLE printer_handle; member in struct:cloud_print::__anon6262::PortData
136 bool GetJobTitle(HANDLE printer_handle, argument
139 DCHECK(printer_handle != NULL);
142 GetJob(printer_handle, job_id, 1, NULL, 0, &bytes_needed);
148 if (!GetJob(printer_handle,
413 if (!OpenPrinter(printer_name, &(port_data->printer_handle), NUL
[all...]
/external/chromium_org/chrome/service/cloud_print/
H A Dprint_system_win.cc748 printing::ScopedPrinterHandle printer_handle; local
750 printer_handle.OpenPrinter(printer_name_wide.c_str());
751 DCHECK(printer_handle.IsValid());
753 if (printer_handle.IsValid()) {
755 GetJob(printer_handle.Get(), job_id, 1, NULL, 0, &bytes_needed);
761 if (GetJob(printer_handle.Get(), job_id, 1, job_info_buffer.get(),

Completed in 396 milliseconds